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,10 +75,12 @@ main() {
echo "$line" | colorize $color normal echo "$line" | colorize $color normal
done done
echo echo
if test -e debug; then
echo "debug buffer:" | colorize yellow normal echo "debug buffer:" | colorize yellow normal
cat debug cat debug
echo echo
fi fi
fi
done done
fi fi
else else