mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
New testcases.
2002-05-18 Matthias Clasen <maclas@gmx.de> * tests/markups/fail-36.gmarkup: * tests/markups/fail-35.gmarkup: * tests/markups/valid-8.gmarkup: * tests/markups/valid-7.gmarkup: * tests/markups/valid-6.gmarkup: * tests/markups/valid-5.gmarkup: New testcases. * tests/markup-test.c (passthrough_handler): (text_handler): Don't ignore the text_len parameter. * glib/gmarkup.c (find_current_text_end): Don't hang on embedded nuls. (#81977) (g_markup_parse_context_parse): Fix passthrough handling to correctly skip processing instructions, comments, doctype declarations and CDATA marked sections. (#81977)
This commit is contained in:
committed by
Matthias Clasen
parent
ed8f19b4c6
commit
60f59976d9
@@ -9,6 +9,9 @@ fail ()
|
||||
for I in $srcdir/markups/fail-*.gmarkup; do
|
||||
echo "Parsing $I, should fail"
|
||||
./markup-test $I > /dev/null && fail "failed to generate error on $I"
|
||||
if test "$?" != "1"; then
|
||||
fail "unexpected error on $I"
|
||||
fi
|
||||
done
|
||||
|
||||
for I in $srcdir/markups/valid-*.gmarkup; do
|
||||
|
Reference in New Issue
Block a user