Commit af9faf09 authored by Ramon Nou's avatar Ramon Nou
Browse files

Update test/bash_testing2.sh

parent b13424a2
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -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
@@ -20,4 +19,6 @@ if [ -f $ROOT/a.out ];
     exit 1
fi

echo all test done

exit 0
 No newline at end of file