diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 6 | ||||
-rw-r--r-- | tests/fallback.nix.in (renamed from tests/fall-back.nix.in) | 0 | ||||
-rw-r--r-- | tests/fallback.sh (renamed from tests/fall-back.sh) | 2 | ||||
-rw-r--r-- | tests/verify.sh | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 19122cd9556e..9e1d6a19836a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -19,10 +19,10 @@ parallel.sh: parallel.nix build-hook.sh: build-hook.nix substitutes.sh: substitutes.nix substituter.nix substitutes2.sh: substitutes2.nix substituter.nix substituter2.nix -fall-back.sh: fall-back.nix +fallback.sh: fallback.nix TESTS = init.sh simple.sh dependencies.sh locking.sh parallel.sh \ - build-hook.sh substitutes.sh substitutes2.sh + build-hook.sh substitutes.sh substitutes2.sh fallback.sh verify.sh XFAIL_TESTS = @@ -36,4 +36,4 @@ EXTRA_DIST = $(TESTS) \ build-hook.nix.in build-hook.hook.sh \ substitutes.nix.in substituter.nix.in substituter.builder.sh \ substitutes2.nix.in substituter2.nix.in substituter2.builder.sh \ - fall-back.nix.in + fallback.nix.in diff --git a/tests/fall-back.nix.in b/tests/fallback.nix.in index 0575d6940d11..0575d6940d11 100644 --- a/tests/fall-back.nix.in +++ b/tests/fallback.nix.in diff --git a/tests/fall-back.sh b/tests/fallback.sh index e4a39421772b..5799775eb2f8 100644 --- a/tests/fall-back.sh +++ b/tests/fallback.sh @@ -7,7 +7,7 @@ suc=$NIX_STORE_DIR/deadbeafdeadbeafdeadbeafdeadbeaf-s.store (echo $suc && echo $NIX_STORE_DIR/ffffffffffffffffffffffffffffffff.store && echo "/bla" && echo 0) | $TOP/src/nix-store/nix-store --substitute $TOP/src/nix-store/nix-store --successor $storeExpr $suc -outPath=$($TOP/src/nix-store/nix-store -qnf "$storeExpr") +outPath=$($TOP/src/nix-store/nix-store -qnf --fallback "$storeExpr") echo "output path is $outPath" diff --git a/tests/verify.sh b/tests/verify.sh new file mode 100644 index 000000000000..ede3e7d74bea --- /dev/null +++ b/tests/verify.sh @@ -0,0 +1 @@ +$TOP/src/nix-store/nix-store --verify |