tests/lib.sh: Minor cleanup.

This commit is contained in:
Simon Ruderich
2013-06-13 22:11:15 +02:00
parent 59375c2b79
commit 3c2b4bf9f6

View File

@@ -88,7 +88,7 @@ run_test() {
export COLORED_STDERR_PRE
export COLORED_STDERR_POST
# And force writes to a file (unless we are testing the force).
if test "x$force_write" != x; then
if test -n "$force_write"; then
COLORED_STDERR_FORCE_WRITE=1
export COLORED_STDERR_FORCE_WRITE
fi