Skip to content

Commit

Permalink
Fix signed-binary-caches test
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Jan 8, 2014
1 parent ea38e39 commit f4013b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/binary-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ clearStore

rm -f $NIX_STATE_DIR/binary-cache*

nix-store --option binary-caches "file://$cacheDir" --option signed-binary-caches 1 -r $outPath
if nix-store --option binary-caches "file://$cacheDir" --option signed-binary-caches '*' -r $outPath; then
echo "unsigned binary cache incorrectly accepted"
exit 1
fi


# Test whether fallback works if we have cached info but the
Expand Down

0 comments on commit f4013b6

Please sign in to comment.