fusefrontend: Remove debug code.
This code was accidentially added in 4f66d66755
.
This commit is contained in:
parent
71d07b7c73
commit
d86f9914ac
|
@ -1,12 +1,9 @@
|
||||||
package fusefrontend
|
package fusefrontend
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
|
||||||
|
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
|
|
||||||
|
@ -68,9 +65,7 @@ func TestOpenBackingDir(t *testing.T) {
|
||||||
}
|
}
|
||||||
err = syscallcompat.Faccessat(dirfd, cName, unix.R_OK)
|
err = syscallcompat.Faccessat(dirfd, cName, unix.R_OK)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("pid=%d dirfd=%d dir1->cName=%q: %v\n", os.Getpid(), dirfd, cName, err)
|
t.Error(err)
|
||||||
time.Sleep(600 * time.Second)
|
|
||||||
t.Errorf("dirfd=%d cName=%q: %v", dirfd, cName, err)
|
|
||||||
}
|
}
|
||||||
syscall.Close(dirfd)
|
syscall.Close(dirfd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue