From 17c831701756bb46300c412fd64b19d67f299c18 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 24 Feb 2016 16:06:23 +0900 Subject: [PATCH] [tests] Fix for multiple options in test runner scripts --- test/shaping/run-tests.sh | 3 +-- 1 file changed, 1 insertion(+), 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 -- GitLab