ajout de pleins de tests et reorganisation des fichiers

This commit is contained in:
Hugo LAMY
2021-12-21 12:21:55 +01:00
parent 85424b47c4
commit 81db47d2f4
13 changed files with 2007 additions and 875 deletions

69
tests/defaults/b_exit.sh Normal file
View File

@@ -0,0 +1,69 @@
exit a aa a
exit -10
exit +10
exit 123 123 123
exit 99
exit 3 a
exit 55 99
exit 0
exit 1
exit -1
exit 2147483647
exit 2147483648
exit -2147483648
exit -2147483649
exit 9223372036854775807
exit 9223372036854775808
exit -9223372036854775808
exit -9223372036854775809
exit -- 42
exit " 42 "
exit -- -- 42
exit --42
exit ++42
exit 42 42
exit a
exit 1a
exit +
exit -
exit " "
exit 0 0
exit 0 0
exit
exit 0 0
echo "this message should not be displayed" 2> file
ls
exit 0 0 | echo hello