aboutsummaryrefslogtreecommitdiff
path: root/tests/repair.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-21 18:06:13 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-21 18:06:13 +0100
commitaa23bba27f402913a7cfa7854b5d3b6ddf321e74 (patch)
treef6831757073c24d9080ce71aa67df0b73406a3e8 /tests/repair.sh
parente1e49c58e1218fb6240dbd9780a8c67462e95d2d (diff)
Fix tests to reflect the signed-binary-caches default change
Diffstat (limited to 'tests/repair.sh')
-rw-r--r--tests/repair.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/repair.sh b/tests/repair.sh
index 782838704..57152d450 100644
--- a/tests/repair.sh
+++ b/tests/repair.sh
@@ -51,7 +51,7 @@ nix copy --recursive --to file://$cacheDir $path
chmod u+w $path2
rm -rf $path2
-nix-store --verify --check-contents --repair --option binary-caches "file://$cacheDir"
+nix-store --verify --check-contents --repair --option binary-caches "file://$cacheDir" --option signed-binary-caches ''
if [ "$(nix-hash $path2)" != "$hash" -o -e $path2/bad ]; then
echo "path not repaired properly" >&2
@@ -69,7 +69,7 @@ if nix-store --verify-path $path2; then
exit 1
fi
-nix-store --repair-path $path2 --option binary-caches "file://$cacheDir"
+nix-store --repair-path $path2 --option binary-caches "file://$cacheDir" --option signed-binary-caches ''
if [ "$(nix-hash $path2)" != "$hash" -o -e $path2/bad ]; then
echo "path not repaired properly" >&2