test: use the -d flag in unit tests so that we can find potential

errors in the debug() function calls.
This commit is contained in:
Sam Hocevar 2015-01-19 23:10:14 +01:00
parent d8d799cd81
commit 60e1d2f001

View File

@ -25,7 +25,8 @@ checkutils()
f=$2
file="$DIR/file-$f"
ZZOPTS="-s $seed -r $r"
# add -d on purpose here so we can detect bugs in debug() calls
ZZOPTS="-d -s $seed -r $r"
case $file in
*text*) ZZOPTS="$ZZOPTS -P '\\n' -R '\\000'" ;;
esac