Commit d499a8d0 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys Committed by Han-Wen Nienhuys

fs: trim logging from test

The logging makes it seems something is wrong when running the test.

Change-Id: I4e8ec5c72da555922ca7d20f0a34b9939b36fa9a
parent fcbcd75e
...@@ -77,7 +77,6 @@ func TestReaddirTypeFixup(t *testing.T) { ...@@ -77,7 +77,6 @@ func TestReaddirTypeFixup(t *testing.T) {
if err != 0 { if err != 0 {
t.Errorf("Next: %d", err) t.Errorf("Next: %d", err)
} }
t.Logf("%q: mode=0x%x", e.Name, e.Mode)
gotIsDir := (e.Mode & syscall.S_IFDIR) != 0 gotIsDir := (e.Mode & syscall.S_IFDIR) != 0
wantIsdir := (crc32.ChecksumIEEE([]byte(e.Name)) % 2) == 1 wantIsdir := (crc32.ChecksumIEEE([]byte(e.Name)) % 2) == 1
if gotIsDir != wantIsdir { if gotIsDir != wantIsdir {
......
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