aboutsummaryrefslogtreecommitdiff
path: root/tests/fallback.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fallback.sh')
-rw-r--r--tests/fallback.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fallback.sh b/tests/fallback.sh
index 081e5695f..ac4370c61 100644
--- a/tests/fallback.sh
+++ b/tests/fallback.sh
@@ -5,7 +5,7 @@ outPath=$($TOP/src/nix-store/nix-store -q --fallback "$storeExpr")
echo "output path is $outPath"
# Register a non-existant substitute
-(echo $outPath && echo $TOP/no-such-program && echo 0) | $TOP/src/nix-store/nix-store --substitute
+(echo $outPath && echo $TOP/no-such-program && echo 0 && echo 0) | $TOP/src/nix-store/nix-store --substitute
# Build the derivation
$TOP/src/nix-store/nix-store -r --fallback "$storeExpr"