about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/common.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 0f46e5f4ec21..031a0d66d1b8 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -35,7 +35,7 @@ readLink() {
 
 clearProfiles() {
     profiles="$NIX_STATE_DIR"/profiles
-    rm -f $profiles/*
+    rm -rf $profiles
 }
 
 clearStore() {