summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2016-02-24 16:06:23 +0900
committerBehdad Esfahbod <behdad@behdad.org>2016-02-24 16:06:23 +0900
commit17c831701756bb46300c412fd64b19d67f299c18 (patch)
treeb38d74ed8539765c3977065e4b6896a69ae3a5f5
parentebd7431f824c718db6ce5b85e94f2b3911127af4 (diff)
[tests] Fix for multiple options in test runner scripts
-rwxr-xr-xtest/shaping/run-tests.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/shaping/run-tests.sh b/test/shaping/run-tests.sh
index 47bf25b2..021c6f8a 100755
--- a/test/shaping/run-tests.sh
+++ b/test/shaping/run-tests.sh
@@ -18,10 +18,9 @@ if test $# = 0; then
set /dev/stdin
fi
-IFS=:
for f in "$@"; do
$reference || echo "Running tests in $f"
- while read fontfile options unicodes glyphs_expected; do
+ while IFS=: read fontfile options unicodes glyphs_expected; do
if echo "$fontfile" | grep -q '^#'; then
$reference || echo "Skipping $fontfile:$unicodes"
continue