Detect if the debug buffer exists before displaying it in test runner

This commit is contained in:
Maxime Coste 2016-03-08 00:25:14 +00:00
parent 6f78c7f910
commit 114f9c876d

View File

@ -75,9 +75,11 @@ main() {
echo "$line" | colorize $color normal
done
echo
echo "debug buffer:" | colorize yellow normal
cat debug
echo
if test -e debug; then
echo "debug buffer:" | colorize yellow normal
cat debug
echo
fi
fi
done
fi