summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/common.sh.in3
-rw-r--r--tests/logging.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index cd0ebf2cf7..71554af109 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -22,7 +22,8 @@ export PERL=perl
 export TOP=$(pwd)/..
 export aterm_bin=@aterm_bin@
 export dot=@dot@
-export xmllint="@xmllint@ @xmlflags@"
+export xmllint="@xmllint@"
+export xmlflags="@xmlflags@"
 export xsltproc="@xsltproc@"
 
 export version=@version@
diff --git a/tests/logging.sh b/tests/logging.sh
index 80d186a754..aea9f78b16 100644
--- a/tests/logging.sh
+++ b/tests/logging.sh
@@ -10,7 +10,7 @@ $TOP/src/nix-log2xml/nix-log2xml < $TEST_ROOT/log.esc > $TEST_ROOT/log.xml
 
 # Is this well-formed XML?
 if test -n "$xmllint"; then
-    $xmllint --noout $TEST_ROOT/log.xml
+    $xmllint $xmlflags --noout $TEST_ROOT/log.xml
 fi
 
 # Convert to HTML.