forked from lix-project/lix
Rename tests/nar-index -> tests/nar-access
This commit is contained in:
parent
9d87d03331
commit
c9c3fc710b
|
@ -14,7 +14,7 @@ nix_tests = \
|
||||||
placeholders.sh nix-shell.sh \
|
placeholders.sh nix-shell.sh \
|
||||||
linux-sandbox.sh \
|
linux-sandbox.sh \
|
||||||
build-remote.sh \
|
build-remote.sh \
|
||||||
nar-index.sh \
|
nar-access.sh \
|
||||||
structured-attrs.sh \
|
structured-attrs.sh \
|
||||||
fetchGit.sh \
|
fetchGit.sh \
|
||||||
fetchMercurial.sh
|
fetchMercurial.sh
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
source common.sh
|
source common.sh
|
||||||
|
|
||||||
echo "building test path"
|
echo "building test path"
|
||||||
storePath="$(nix-build nar-index.nix -A a --no-out-link)"
|
storePath="$(nix-build nar-access.nix -A a --no-out-link)"
|
||||||
|
|
||||||
cd "$TEST_ROOT"
|
cd "$TEST_ROOT"
|
||||||
|
|
||||||
|
@ -20,4 +20,4 @@ diff -u data.cat-nar $storePath/foo/data
|
||||||
|
|
||||||
echo "check that file contents of baz match"
|
echo "check that file contents of baz match"
|
||||||
nix cat-nar $narFile /foo/baz > baz.cat-nar
|
nix cat-nar $narFile /foo/baz > baz.cat-nar
|
||||||
diff -u baz.cat-nar $storePath/foo/baz
|
diff -u baz.cat-nar $storePath/foo/baz
|
Loading…
Reference in a new issue