about summary refs log tree commit diff
diff options
context:
space:
mode:
-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