aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bindfs/musl-getmntent-issue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bindfs/musl-getmntent-issue.patch')
-rw-r--r--testing/bindfs/musl-getmntent-issue.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/bindfs/musl-getmntent-issue.patch b/testing/bindfs/musl-getmntent-issue.patch
new file mode 100644
index 0000000000..9003c6f9b2
--- /dev/null
+++ b/testing/bindfs/musl-getmntent-issue.patch
@@ -0,0 +1,18 @@
+# workaroung for musl getmntent: avoid using fusermount in test setup
+--- a/tests/common.rb
++++ b/tests/common.rb
+@@ -213,11 +213,5 @@ def nonroot_testenv(bindfs_args, options = {}, &block)
+ end
+
+ def umount_cmd
+- if !`which fusermount3`.strip.empty?
+- 'fusermount3 -uz'
+- elsif !`which fusermount`.strip.empty?
+- 'fusermount -uz'
+- else
+- 'umount'
+- end
++ 'umount'
+ end
+
+ def assert