summaryrefslogtreecommitdiff
path: root/tests/run_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run_all.sh')
-rwxr-xr-xtests/run_all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run_all.sh b/tests/run_all.sh
index 486454b..5727afb 100755
--- a/tests/run_all.sh
+++ b/tests/run_all.sh
@@ -5,7 +5,7 @@ for t in test_*; do
cd $t
php ../test.php > have
echo -ne "\e[1m$t\e[0m: "
- if cmp -s want have; then
+ if sed 's/\s*//' < have | grep -v '^$' | cmp -s want; then
echo "OK"
rm *.transc.php
else