From d86f9914accffa4e17c2056fe808c67a14365ce3 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 3 Jan 2019 17:48:04 +0100 Subject: fusefrontend: Remove debug code. This code was accidentially added in 4f66d66755da63c78b09201c6c72353009251cf2. --- internal/fusefrontend/openbackingdir_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'internal/fusefrontend') diff --git a/internal/fusefrontend/openbackingdir_test.go b/internal/fusefrontend/openbackingdir_test.go index 266e265..82cc74d 100644 --- a/internal/fusefrontend/openbackingdir_test.go +++ b/internal/fusefrontend/openbackingdir_test.go @@ -1,12 +1,9 @@ package fusefrontend import ( - "fmt" - "os" "strings" "syscall" "testing" - "time" "golang.org/x/sys/unix" @@ -68,9 +65,7 @@ func TestOpenBackingDir(t *testing.T) { } err = syscallcompat.Faccessat(dirfd, cName, unix.R_OK) if err != nil { - fmt.Printf("pid=%d dirfd=%d dir1->cName=%q: %v\n", os.Getpid(), dirfd, cName, err) - time.Sleep(600 * time.Second) - t.Errorf("dirfd=%d cName=%q: %v", dirfd, cName, err) + t.Error(err) } syscall.Close(dirfd) -- cgit v1.2.3