fusefrontend: Remove debug code.

This code was accidentially added in 4f66d66755.
This commit is contained in:
Sebastian Lackner 2019-01-03 17:48:04 +01:00 committed by rfjakob
parent 71d07b7c73
commit d86f9914ac

View File

@ -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)