From c9c3fc710ba6995b20e078523aa616323dc5759a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 14 Nov 2017 13:27:40 +0100 Subject: [PATCH] Rename tests/nar-index -> tests/nar-access --- tests/local.mk | 2 +- tests/{nar-index.nix => nar-access.nix} | 0 tests/{nar-index.sh => nar-access.sh} | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename tests/{nar-index.nix => nar-access.nix} (100%) rename tests/{nar-index.sh => nar-access.sh} (84%) diff --git a/tests/local.mk b/tests/local.mk index 67b378839..47956c232 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -14,7 +14,7 @@ nix_tests = \ placeholders.sh nix-shell.sh \ linux-sandbox.sh \ build-remote.sh \ - nar-index.sh \ + nar-access.sh \ structured-attrs.sh \ fetchGit.sh \ fetchMercurial.sh diff --git a/tests/nar-index.nix b/tests/nar-access.nix similarity index 100% rename from tests/nar-index.nix rename to tests/nar-access.nix diff --git a/tests/nar-index.sh b/tests/nar-access.sh similarity index 84% rename from tests/nar-index.sh rename to tests/nar-access.sh index 51369346c..5c2d3058c 100644 --- a/tests/nar-index.sh +++ b/tests/nar-access.sh @@ -1,7 +1,7 @@ source common.sh 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" @@ -20,4 +20,4 @@ diff -u data.cat-nar $storePath/foo/data echo "check that file contents of baz match" nix cat-nar $narFile /foo/baz > baz.cat-nar -diff -u baz.cat-nar $storePath/foo/baz \ No newline at end of file +diff -u baz.cat-nar $storePath/foo/baz