aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
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)