mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
portability fix
This commit is contained in:
parent
6300eef350
commit
9c19905b0e
@ -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>
|
2006-10-07 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* glib/gwin32.c (get_package_directory_from_module)
|
* glib/gwin32.c (get_package_directory_from_module)
|
||||||
|
@ -26,7 +26,8 @@ for I in ${srcdir:-.}/markups/fail-*.gmarkup; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for (( I=1 ; I < 100 ; I++ )) ; do
|
I=1
|
||||||
|
while test $I -lt 100 ; do
|
||||||
F=${srcdir:-.}/markups/valid-$I.gmarkup
|
F=${srcdir:-.}/markups/valid-$I.gmarkup
|
||||||
if [ -f $F ] ; then
|
if [ -f $F ] ; then
|
||||||
echo_v "Parsing $F, should succeed"
|
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"
|
diff -u ${srcdir:-.}/markups/expected-$I actual || fail "unexpected output on $F"
|
||||||
rm actual
|
rm actual
|
||||||
fi
|
fi
|
||||||
|
I=`expr $I + 1`
|
||||||
done
|
done
|
||||||
|
|
||||||
echo_v "All tests passed."
|
echo_v "All tests passed."
|
||||||
|
Loading…
Reference in New Issue
Block a user