aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bindfs/musl-getmntent-issue.patch
blob: 9003c6f9b28ecafca917edb2d1a15df2bf73c7f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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