From 98f735ff6e05ef71753f1c2fa60c30b195b02d3d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 6 Mar 2018 21:22:01 +0100 Subject: tests: drop "-z" from fusermount to catch forgotten fds macos does not have lazy unmount, so let's not use it on linux either. If the unmount fails, run "lsof" to find the open file. Also fix the first bug we found this way. --- tests/matrix/matrix_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/matrix') diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index f492001..574f11f 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -796,6 +796,7 @@ func TestUtimesNanoFd(t *testing.T) { if err != nil { t.Fatal(err) } + defer f.Close() procPath := fmt.Sprintf("/proc/self/fd/%d", f.Fd()) doTestUtimesNano(t, procPath) } -- cgit v1.2.3