about summary refs log tree commit diff
path: root/tests/fall-back.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fall-back.sh')
-rw-r--r--tests/fall-back.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/fall-back.sh b/tests/fall-back.sh
index a183e12f670c..e4a39421772b 100644
--- a/tests/fall-back.sh
+++ b/tests/fall-back.sh
@@ -2,11 +2,12 @@ storeExpr=$($TOP/src/nix-instantiate/nix-instantiate fall-back.nix)
 
 echo "store expr is $storeExpr"
 
-# Register a non-existant successor.
+# Register a non-existant successor (and a nox-existant substitute).
 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 -qnfvvvvv "$storeExpr")
+outPath=$($TOP/src/nix-store/nix-store -qnf "$storeExpr")
 
 echo "output path is $outPath"