Rename tests/nar-index -> tests/nar-access

This commit is contained in:
Eelco Dolstra 2017-11-14 13:27:40 +01:00
parent 9d87d03331
commit c9c3fc710b
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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