aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-22 20:46:12 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-23 18:26:48 +0200
commit8e41c388679aedc12eb1a7a7aff1b4818040ff4a (patch)
treee89fe48bfe21b2ed6e28decd1dd6f2250d41f7a0 /tests
parente0ea3c82ca9e46359c55c9f716fec016f8d483ea (diff)
Remove references to xmllint
Diffstat (limited to 'tests')
-rw-r--r--tests/common.sh.in1
-rw-r--r--tests/nix-channel.sh6
2 files changed, 0 insertions, 7 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 308126094..5e00d64f1 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -32,7 +32,6 @@ export PATH=@bindir@:$PATH
coreutils=@coreutils@
export dot=@dot@
-export xmllint="@xmllint@"
export SHELL="@bash@"
export PAGER=cat
export HAVE_SODIUM="@HAVE_SODIUM@"
diff --git a/tests/nix-channel.sh b/tests/nix-channel.sh
index 49c68981a..63c0f97ba 100644
--- a/tests/nix-channel.sh
+++ b/tests/nix-channel.sh
@@ -28,9 +28,6 @@ nix-channel --update
# Do a query.
nix-env -qa \* --meta --xml --out-path > $TEST_ROOT/meta.xml
-if [ "$xmllint" != false ]; then
- $xmllint --noout $TEST_ROOT/meta.xml || fail "malformed XML"
-fi
grep -q 'meta.*description.*Random test package' $TEST_ROOT/meta.xml
grep -q 'item.*attrPath="foo".*name="dependencies-top"' $TEST_ROOT/meta.xml
@@ -47,9 +44,6 @@ nix-channel --update
# Do a query.
nix-env -qa \* --meta --xml --out-path > $TEST_ROOT/meta.xml
-if [ "$xmllint" != false ]; then
- $xmllint --noout $TEST_ROOT/meta.xml || fail "malformed XML"
-fi
grep -q 'meta.*description.*Random test package' $TEST_ROOT/meta.xml
grep -q 'item.*attrPath="foo".*name="dependencies-top"' $TEST_ROOT/meta.xml