summaryrefslogtreecommitdiff
path: root/stress_tests/fsstress-loopback.bash
diff options
context:
space:
mode:
Diffstat (limited to 'stress_tests/fsstress-loopback.bash')
-rwxr-xr-xstress_tests/fsstress-loopback.bash13
1 files changed, 13 insertions, 0 deletions
diff --git a/stress_tests/fsstress-loopback.bash b/stress_tests/fsstress-loopback.bash
index 36f1c96..483df9c 100755
--- a/stress_tests/fsstress-loopback.bash
+++ b/stress_tests/fsstress-loopback.bash
@@ -1,4 +1,17 @@
#!/bin/bash
+#
+# Mount a go-fuse loopback filesystem in /tmp and run fsstress against it
+# in an infinite loop, only exiting on errors.
+#
+# When called as "fsstress-gocryptfs.bash", a gocryptfs filesystem is tested
+# instead.
+#
+# This test used to fail on older go-fuse versions after a few iterations with
+# errors like this:
+# "rm: cannot remove ‘/tmp/b/fsstress.2/pd/d1XXX/f4a’: No such file or directory"
+#
+# Nowadays it should pass an indefinite number of iterations.
+
set -eu
# Backing directory