From 01a3f4d7ec79d434dc34b64a761ddf681fe63a48 Mon Sep 17 00:00:00 2001 From: regnat Date: Wed, 23 Jun 2021 17:37:29 +0200 Subject: [PATCH] Fix the CA gc test Broken by https://github.com/NixOS/nix/issues/4936 --- tests/gc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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