1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 16:14:45 +00:00

fix test script

This commit is contained in:
deadc0de6
2020-11-08 14:12:52 +01:00
parent d467019922
commit e3c9a486d9

View File

@@ -52,13 +52,13 @@ unset DOTDROP_FORCE_NODEBUG
set +e
${scr} > "${logfile}" 2>&1
if [ "$?" -ne 0 ]; then
echo "test ${scr} finished with error"
cat ${logfile}
echo "test ${scr} finished with error"
rm -rf ${logdir}
exit 1
elif grep Traceback ${logfile}; then
echo "test ${scr} crashed"
cat ${logfile}
echo "test ${scr} crashed"
rm -rf ${logdir}
exit 1
fi