From c3de9313468a89a20cc6e68a66425702cbc6f61f Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Wed, 6 Sep 2006 17:57:44 +0200 Subject: [PATCH] All xml-diff errors should be fatal. --- tests/xml-diff.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/xml-diff.pl b/tests/xml-diff.pl index 023ce13..eed51b4 100644 --- a/tests/xml-diff.pl +++ b/tests/xml-diff.pl @@ -142,11 +142,12 @@ sub compare_attr_list { if (!defined($attr2_found)) { print STDERR "Attribute $nsuri1/$lname1 exists on one side but not the other\n"; - last; + exit(1); } if ($attr1->getValue ne $attr2_found->getValue) { print STDERR "Attribute $nsuri1/$lname1 has differing values\n"; + exit(1); } } } -- 2.39.5