diff --git a/ChangeLog b/ChangeLog index 0329a2342..b42e09097 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-08 Matthias Clasen + + * tests/run-markup-tests.sh: Small portability fix. (#347944, + Dan McMahill) + 2006-10-07 Tor Lillqvist * glib/gwin32.c (get_package_directory_from_module) diff --git a/tests/run-markup-tests.sh b/tests/run-markup-tests.sh index db6b47455..ff9aa07ca 100755 --- a/tests/run-markup-tests.sh +++ b/tests/run-markup-tests.sh @@ -26,7 +26,8 @@ for I in ${srcdir:-.}/markups/fail-*.gmarkup; do fi done -for (( I=1 ; I < 100 ; I++ )) ; do +I=1 +while test $I -lt 100 ; do F=${srcdir:-.}/markups/valid-$I.gmarkup if [ -f $F ] ; then echo_v "Parsing $F, should succeed" @@ -34,6 +35,7 @@ for (( I=1 ; I < 100 ; I++ )) ; do diff -u ${srcdir:-.}/markups/expected-$I actual || fail "unexpected output on $F" rm actual fi + I=`expr $I + 1` done echo_v "All tests passed."