diff options
Diffstat (limited to 'tests/test_helpers')
| -rw-r--r-- | tests/test_helpers/mount_unmount.go | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_helpers/mount_unmount.go b/tests/test_helpers/mount_unmount.go index 8ff2564..afd33f1 100644 --- a/tests/test_helpers/mount_unmount.go +++ b/tests/test_helpers/mount_unmount.go @@ -37,7 +37,10 @@ type mountInfo struct {  func Mount(c string, p string, showOutput bool, extraArgs ...string) error {  	args := []string{"-q", "-wpanic", "-nosyslog", "-fg", fmt.Sprintf("-notifypid=%d", os.Getpid())}  	args = append(args, extraArgs...) -	//args = append(args, "-fusedebug") +	if _, isset := os.LookupEnv("FUSEDEBUG"); isset { +		fmt.Println("FUSEDEBUG is set, enabling -fusedebug") +		args = append(args, "-fusedebug") +	}  	//args = append(args, "-d")  	args = append(args, c, p)  | 
