From 892208a0376dfc870a1b95c5f2222723202439e0 Mon Sep 17 00:00:00 2001 From: vht24 <vht24@tux1.cci.drexel.edu> Date: Wed, 5 Mar 2025 16:30:18 -0500 Subject: [PATCH] Assignment 5 --- 5-ShellP3/bats/student_tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/5-ShellP3/bats/student_tests.sh b/5-ShellP3/bats/student_tests.sh index 7c98b3f..6e09e38 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 -- GitLab