portability fix

This commit is contained in:
Matthias Clasen 2006-10-08 19:59:26 +00:00
parent 6300eef350
commit 9c19905b0e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* tests/run-markup-tests.sh: Small portability fix. (#347944,
Dan McMahill)
2006-10-07 Tor Lillqvist <tml@novell.com>
* glib/gwin32.c (get_package_directory_from_module)

View File

@ -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."