Commit 0de6a433 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Remove unnecessary t.Log statements.

parent f5ebef94
......@@ -397,7 +397,6 @@ func TestSymlink(t *testing.T) {
tc := NewTestCase(t)
defer tc.Cleanup()
t.Log("testing symlink/readlink.")
contents := []byte{1, 2, 3}
tc.WriteFile(tc.origFile, []byte(contents), 0700)
......@@ -457,8 +456,6 @@ func TestDelRename(t *testing.T) {
tc := NewTestCase(t)
defer tc.Cleanup()
t.Log("Testing del+rename.")
sd := tc.mnt + "/testDelRename"
tc.Mkdir(sd, 0755)
......@@ -486,8 +483,6 @@ func TestOverwriteRename(t *testing.T) {
tc := NewTestCase(t)
defer tc.Cleanup()
t.Log("Testing rename overwrite.")
sd := tc.mnt + "/testOverwriteRename"
tc.Mkdir(sd, 0755)
......@@ -535,7 +530,6 @@ func TestMknod(t *testing.T) {
tc := NewTestCase(t)
defer tc.Cleanup()
t.Log("Testing mknod.")
if errNo := syscall.Mknod(tc.mountFile, syscall.S_IFIFO|0777, 0); errNo != nil {
t.Errorf("Mknod %v", errNo)
}
......
......@@ -106,7 +106,6 @@ func TestRecursiveMount(t *testing.T) {
if err != nil {
t.Fatalf("Open failed: %v", err)
}
t.Log("Attempting unmount, should fail")
code = ts.pathFs.Unmount("mnt")
if code != fuse.EBUSY {
t.Error("expect EBUSY")
......@@ -116,7 +115,6 @@ func TestRecursiveMount(t *testing.T) {
t.Log("Waiting for kernel to flush file-close to fuse...")
time.Sleep(testTtl)
t.Log("Attempting unmount, should succeed")
code = ts.pathFs.Unmount("mnt")
if code != fuse.OK {
t.Error("umount failed.", code)
......@@ -138,13 +136,11 @@ func TestDeletedUnmount(t *testing.T) {
t.Fatalf("Create failed: %v", err)
}
t.Log("Removing")
err = os.Remove(filepath.Join(submnt, "hello.txt"))
if err != nil {
t.Fatalf("Remove failed: %v", err)
}
t.Log("Removing")
_, err = f.Write([]byte("bla"))
if err != nil {
t.Fatalf("Write failed: %v", err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment