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