Skip to content
Snippets Groups Projects
Commit 892208a0 authored by vht24's avatar vht24
Browse files

Assignment 5

parent 65eec2b9
Branches
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ EOF
[ "$status" -eq 0 ]
}
@test "Simple Echo Command" {
@test "Echo" {
run "./dsh" <<EOF
echo hello world
EOF
......@@ -85,7 +85,7 @@ EOF
[ "$status" -eq 0 ]
}
@test "Invalid Command Handling" {
@test "Invalid command" {
run "./dsh" <<EOF
invalidcmd
EOF
......@@ -155,7 +155,7 @@ EOF
[ "$status" -eq 0 ]
}
@test "Redirection with Pipeline - cat < testfile.txt | grep o" {
@test "Redirection with pipeline - cat < testfile.txt | grep o" {
echo "oowwoo" > testfile.txt
run "./dsh" <<EOF
cat < testfile.txt | grep o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment