aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-10-15 12:41:27 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-10-15 12:52:21 +0200
commit4d014221d4aaf9c2e7a323be002f058ebb4d79e2 (patch)
tree0bd3c9bb4ca050787f67e0c1a976c72ed780d16e /tests
parentbe35569a6e488563f00caee521eba451d9b63680 (diff)
Fix test against old daemon
Diffstat (limited to 'tests')
-rw-r--r--tests/gc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gc.sh b/tests/gc.sh
index 33d627dae..a736b63db 100644
--- a/tests/gc.sh
+++ b/tests/gc.sh
@@ -26,6 +26,7 @@ if nix-store --delete $outPath; then false; fi
test -e $outPath
for i in $NIX_STORE_DIR/*; do
+ if [[ $i =~ /trash ]]; then continue; fi # compat with old daemon
touch $i.lock
touch $i.chroot
done