tests: Prints test number on segfault

This commit is contained in:
Felipe Zimmerle
2020-05-18 12:53:16 -03:00
parent 9b40a045bb
commit e6bdadeb69
3 changed files with 10 additions and 8 deletions

View File

@@ -30,10 +30,10 @@ else
RET=$?
if [ $RET -eq 127 ]
then
echo ":test-result: SKIP: json is not enabled. (unit/$RET) ../$FILE"
echo ":test-result: SKIP: json is not enabled. (unit/$RET) ../$FILE:$i"
elif [ $RET -ne 0 ]
then
echo ":test-result: FAIL possible segfault: (unit/$RET) ../$FILE"
echo ":test-result: FAIL possible segfault: (unit/$RET) ../$FILE:$i"
fi
fi