mirror of
https://github.com/NixOS/nix
synced 2025-07-09 12:03:55 +02:00
tests/functional: Enable more tests in NixOS VM
This commit is contained in:
parent
f0abe4d8f0
commit
648302b833
38 changed files with 71 additions and 104 deletions
|
@ -2,9 +2,7 @@
|
|||
|
||||
source common.sh
|
||||
|
||||
TODO_NixOS
|
||||
|
||||
clearStore
|
||||
clearStoreIfPossible
|
||||
clearCache
|
||||
|
||||
nix-store --generate-binary-cache-key cache1.example.org $TEST_ROOT/sk1 $TEST_ROOT/pk1
|
||||
|
@ -18,6 +16,7 @@ outPath=$(nix-build dependencies.nix --no-out-link --secret-key-files "$TEST_ROO
|
|||
# Verify that the path got signed.
|
||||
info=$(nix path-info --json $outPath)
|
||||
echo $info | jq -e '.[] | .ultimate == true'
|
||||
TODO_NixOS # looks like an actual bug? Following line fails on NixOS:
|
||||
echo $info | jq -e '.[] | .signatures.[] | select(startswith("cache1.example.org"))'
|
||||
echo $info | jq -e '.[] | .signatures.[] | select(startswith("cache2.example.org"))'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue