forked from lix-project/lix
Fix signed-binary-caches test
This commit is contained in:
parent
ea38e39a20
commit
f4013b6189
|
@ -59,7 +59,10 @@ clearStore
|
||||||
|
|
||||||
rm -f $NIX_STATE_DIR/binary-cache*
|
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
|
# Test whether fallback works if we have cached info but the
|
||||||
|
|
Loading…
Reference in a new issue