Fix logging test

This commit is contained in:
Eelco Dolstra 2014-02-01 16:08:59 +01:00
parent 965218a62a
commit 2a97f7b039
2 changed files with 1 additions and 2 deletions

View file

@ -23,7 +23,6 @@ export PATH=@bindir@:$PATH
export NIX_BUILD_HOOK= export NIX_BUILD_HOOK=
export dot=@dot@ export dot=@dot@
export xmllint="@xmllint@" export xmllint="@xmllint@"
export xmlflags="@xmlflags@"
export xsltproc="@xsltproc@" export xsltproc="@xsltproc@"
export SHELL="@bash@" export SHELL="@bash@"

View file

@ -11,7 +11,7 @@ nix-log2xml < $TEST_ROOT/log.esc > $TEST_ROOT/log.xml
# Is this well-formed XML? # Is this well-formed XML?
if test "$xmllint" != "false"; then if test "$xmllint" != "false"; then
$xmllint $xmlflags --noout $TEST_ROOT/log.xml || fail "malformed XML" $xmllint --noout $TEST_ROOT/log.xml || fail "malformed XML"
fi fi
# Convert to HTML. # Convert to HTML.