From 12ddbad45893f125e2ab46c5e26d7c8396b31bdb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 May 2016 13:44:09 +0200 Subject: LocalStore::addToStore: Verify hash of the imported path --- tests/binary-cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/binary-cache.sh') diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh index 5f88c595fdfb..cadd634a2a32 100644 --- a/tests/binary-cache.sh +++ b/tests/binary-cache.sh @@ -48,7 +48,7 @@ mkdir -p $TEST_ROOT/empty nix-store --dump $TEST_ROOT/empty | xz > $nar nix-build --option binary-caches "file://$cacheDir" dependencies.nix -o $TEST_ROOT/result 2>&1 | tee $TEST_ROOT/log -grep -q "hash mismatch in downloaded path" $TEST_ROOT/log +grep -q "hash mismatch" $TEST_ROOT/log mv $nar.good $nar -- cgit 1.4.1