use appropriate bash exit code

This commit is contained in:
Steffen Jaeckel 2019-03-24 23:31:56 +01:00
parent dd0181b7dc
commit 9ed679ea51

View File

@ -4,6 +4,7 @@
# 0 success
# 128 a test failed
# >0 the number of timed-out tests
# 255 parsing of parameters failed
set -e
@ -202,7 +203,7 @@ do
if ! [ "$TEST_VS_MTEST" -eq "$TEST_VS_MTEST" ] 2> /dev/null
then
echo "--test-vs-mtest Parameter has to be int"
exit -1
exit 255
fi
;;
--mtest-real-rand)