summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-03 17:48:04 +0100
committerrfjakob2019-01-03 18:24:05 +0100
commitd86f9914accffa4e17c2056fe808c67a14365ce3 (patch)
treef7aff103467fed0af1304e3badf58a8a03d3aa3f /internal
parent71d07b7c73f4ede938b18c773e34efd1506bde5a (diff)
fusefrontend: Remove debug code.
This code was accidentially added in 4f66d66755da63c78b09201c6c72353009251cf2.
Diffstat (limited to 'internal')
-rw-r--r--internal/fusefrontend/openbackingdir_test.go7
1 files changed, 1 insertions, 6 deletions
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)