aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-10-16 12:11:55 -0500
committerRob Landley <rob@landley.net>2019-10-16 12:11:55 -0500
commit84f5ee5efa546eb6919033195a36561e5b0e667b (patch)
tree65eb25ace8651bb435a5981aabeed2efd88333e0
parent275c0a97f7adfe6705702aedaf1bc0e9fbe19f97 (diff)
downloadtoybox-84f5ee5efa546eb6919033195a36561e5b0e667b.tar.gz
Fix NOSPACE tests.
-rw-r--r--scripts/runtest.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/runtest.sh b/scripts/runtest.sh
index 3a5b09c6..90d6299b 100644
--- a/scripts/runtest.sh
+++ b/scripts/runtest.sh
@@ -121,8 +121,7 @@ testing()
# Catch segfaults
[ $RETVAL -gt 128 ] && [ $RETVAL -lt 255 ] &&
echo "exited with signal (or returned $RETVAL)" >> actual
-
- DIFF="$(diff -au${NOSPACE:+b} expected actual)"
+ DIFF="$(diff -au${NOSPACE:+w} expected actual)"
if [ ! -z "$DIFF" ]
then
FAILCOUNT=$(($FAILCOUNT+1))