diff options
author | regnat <rg@regnat.ovh> | 2021-06-23 17:37:29 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-06-23 17:37:29 +0200 |
commit | 01a3f4d7ec79d434dc34b64a761ddf681fe63a48 (patch) | |
tree | 49ca3a573992775dc9aafc61e80f54dd235e4047 /tests/gc.sh | |
parent | fd3f5e9085737734d8769c21559461c26dc5a165 (diff) |
Fix the CA gc test
Broken by https://github.com/NixOS/nix/issues/4936
Diffstat (limited to 'tests/gc.sh')
-rw-r--r-- | tests/gc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gc.sh b/tests/gc.sh index 8b4f8d282..cf0e2c32d 100644 --- a/tests/gc.sh +++ b/tests/gc.sh @@ -12,7 +12,7 @@ ln -sf $outPath "$NIX_STATE_DIR"/gcroots/foo nix-store --gc --print-roots | grep $outPath nix-store --gc --print-live | grep $outPath nix-store --gc --print-dead | grep $drvPath -if nix-store --gc --print-dead | grep $outPath; then false; fi +if nix-store --gc --print-dead | grep -E $outPath$; then false; fi nix-store --gc --print-dead |