diff --git a/5-ShellP3/bats/student_tests.sh b/5-ShellP3/bats/student_tests.sh index 7c98b3f2be830e07ae6a29fcfb9b405560ebc8ac..6e09e3840fd5abac311a2f5c4fa8933c4f7e83e6 100755 --- a/5-ShellP3/bats/student_tests.sh +++ b/5-ShellP3/bats/student_tests.sh @@ -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