aboutsummaryrefslogtreecommitdiff
path: root/tests/stress_tests
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-09-13 14:09:38 +0200
committerJakob Unterwurzacher2020-09-13 14:14:23 +0200
commitaf7386713c33a476f6094d0c53a518a2c6b2c015 (patch)
treeec298059b400a2c0fbd456ee52e1a33ec1fba63e /tests/stress_tests
parent04b46c7adfda9acb9b445968f59c5a8009ec86a2 (diff)
stress_tests/fsstress-gocryptfs.bash: use rm -Rf for cleanup
Apparently, kernel 5.8 now allows unprivileged "mknod /tmp/x c 0 0": vfs: allow unprivileged whiteout creation https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.8.9&id=a3c751a50fe6bbe50eb7622a14b18b361804ee0c which is why rm throws a new prompt: rm: remove write-protected character special file '...'? Use rm -Rf to suppress that.
Diffstat (limited to 'tests/stress_tests')
-rwxr-xr-xtests/stress_tests/fsstress-gocryptfs.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stress_tests/fsstress-gocryptfs.bash b/tests/stress_tests/fsstress-gocryptfs.bash
index 0a79c76..0104bb3 100755
--- a/tests/stress_tests/fsstress-gocryptfs.bash
+++ b/tests/stress_tests/fsstress-gocryptfs.bash
@@ -102,7 +102,7 @@ do
wait
echo " rm"
- rm -R $MNT/*
+ rm -Rf $MNT/*
let N=$N+1
done