From bca330fcbdd20c4ee1475b92cac36089b37f381e Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 7 Jan 2006 01:22:14 +0100 Subject: [PATCH] Simplify incomplete test helper and fix quoting problem --- src/dom/test/test-sgml-parser-basic | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dom/test/test-sgml-parser-basic b/src/dom/test/test-sgml-parser-basic index 4a379c265..28daae50e 100755 --- a/src/dom/test/test-sgml-parser-basic +++ b/src/dom/test/test-sgml-parser-basic @@ -43,8 +43,9 @@ test_expect_incomplete () { y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/; s/[^a-zA-Z0-9-]//g;')" - test_expect_code 1 "$desc" \ - "sgml-parser --uri '$URI' --src '$src' --incomplete" + sgml-parser --uri "$URI" --src "$src" --incomplete + test_expect_success "$desc" \ + "test $? = 1" } @@ -354,7 +355,7 @@ test_expect_incomplete \ test_expect_incomplete \ 'Check incomplete attribute quoted value. (II)' \ -'