Loading test/bash_testing2.sh +6 −5 Original line number Diff line number Diff line Loading @@ -4,8 +4,7 @@ ROOT=${1} echo Creating a file from a echo with content foo echo "foo" > $ROOT/a.out if [ -f $ROOT/a.out ]; then if [ -f $ROOT/a.out ]; then echo File exists echo is the content correct? if grep -Fxq "foo" $ROOT/a.out Loading @@ -20,4 +19,6 @@ if [ -f $ROOT/a.out ]; exit 1 fi echo all test done exit 0 No newline at end of file Loading
test/bash_testing2.sh +6 −5 Original line number Diff line number Diff line Loading @@ -4,8 +4,7 @@ ROOT=${1} echo Creating a file from a echo with content foo echo "foo" > $ROOT/a.out if [ -f $ROOT/a.out ]; then if [ -f $ROOT/a.out ]; then echo File exists echo is the content correct? if grep -Fxq "foo" $ROOT/a.out Loading @@ -20,4 +19,6 @@ if [ -f $ROOT/a.out ]; exit 1 fi echo all test done exit 0 No newline at end of file