diff --git a/tests/defaults/exit_status.sh b/tests/defaults/exit_status.sh index b0b0b1f..0f7d426 100644 --- a/tests/defaults/exit_status.sh +++ b/tests/defaults/exit_status.sh @@ -1,17 +1,7 @@ echo $? -cat Makefile | grep pr | head -n 5 | cd test (mybin) -echo $? - -cat Makefile | grep pr | head -n 5 | cat test (bin) -echo $? - -cat Makefile | grep pr | head -n 5 | hello (NA) -echo $? - cat diufosgid echo $? exit echo $? - diff --git a/tests/defaults/expensions.sh b/tests/defaults/expensions.sh index 20c3409..811168b 100644 --- a/tests/defaults/expensions.sh +++ b/tests/defaults/expensions.sh @@ -1,5 +1,3 @@ -echo "bip | bip ; coyotte > < \" " - export vat=at c$var Makefile @@ -9,9 +7,9 @@ $LESS$VAR echo '\' -echo "\" +echo '\\' -echo "\\" +echo "\" echo "\n \n \n" @@ -49,4 +47,3 @@ echo ok "" "" "" "" "" "" "" "" "" ok export OK="ok ok" echo $OK - diff --git a/tests/defaults/pipes.sh b/tests/defaults/pipes.sh index b6c8855..d55fa0b 100644 --- a/tests/defaults/pipes.sh +++ b/tests/defaults/pipes.sh @@ -38,8 +38,6 @@ ls | cat cat | ls -ulimit -n - ls /proc/self/fd ls | ls | ls /proc/self/fd diff --git a/ut_false_positive.sh b/ut_false_positive.sh new file mode 100644 index 0000000..5757faf --- /dev/null +++ b/ut_false_positive.sh @@ -0,0 +1,14 @@ +ulimit -n + +echo "bip | bip ; coyotte > < \" " + +echo "\\" + +cat Makefile | grep pr | head -n 5 | cd test (mybin) +echo $? + +cat Makefile | grep pr | head -n 5 | cat test (bin) +echo $? + +cat Makefile | grep pr | head -n 5 | hello (NA) +echo $?