diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-10-25 00:15:34 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-10-25 00:15:34 +0200 |
commit | ecb1ed97be62f26e84d860f3b79244237947aab5 (patch) | |
tree | fef13a609cfd5bf2a95d4cb402b2a9dd824cd453 /tests/run_all.sh | |
parent | fce36cfcd183a6ca6d86d51b72cf41e43c349432 (diff) | |
download | ste-ecb1ed97be62f26e84d860f3b79244237947aab5.tar.gz ste-ecb1ed97be62f26e84d860f3b79244237947aab5.tar.bz2 ste-ecb1ed97be62f26e84d860f3b79244237947aab5.zip |
Made the tests more tolerant for whitespace.
Diffstat (limited to 'tests/run_all.sh')
-rwxr-xr-x | tests/run_all.sh | 2 |
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 |