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 echo "$line" | colorize $color normal
done done
echo echo
echo "debug buffer:" | colorize yellow normal if test -e debug; then
cat debug echo "debug buffer:" | colorize yellow normal
echo cat debug
echo
fi
fi fi
done done
fi fi