about summary refs log tree commit diff
path: root/tests/gc-runtime.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gc-runtime.sh')
-rw-r--r--tests/gc-runtime.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gc-runtime.sh b/tests/gc-runtime.sh
index a44195756f52..4c5028005c57 100644
--- a/tests/gc-runtime.sh
+++ b/tests/gc-runtime.sh
@@ -10,7 +10,7 @@ esac
 set -m # enable job control, needed for kill
 
 profiles="$NIX_STATE_DIR"/profiles
-rm -f $profiles/*
+rm -rf $profiles
 
 nix-env -p $profiles/test -f ./gc-runtime.nix -i gc-runtime