summaryrefslogtreecommitdiff
path: root/stress_tests/fsstress-loopback.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-05-24 21:08:13 +0200
committerJakob Unterwurzacher2016-05-24 21:09:26 +0200
commitb467e7509e367f11784c20cb9ac8eef3c74c7468 (patch)
tree193ae695cb33c670e480f3e5d7eb8f66627a32e3 /stress_tests/fsstress-loopback.bash
parent888e147cd8698ad13ddec6c5e35ca928ff701a7e (diff)
stress_tests: add header comments
Also, convert extractloop.bash to using md5sum instead of diff -ur so the user does not have to keep an extracted kernel tree around. And print the iteration time.
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