diff options
Diffstat (limited to 'tests/test_helpers/helpers.go')
-rw-r--r-- | tests/test_helpers/helpers.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go index e735cf4..f010a56 100644 --- a/tests/test_helpers/helpers.go +++ b/tests/test_helpers/helpers.go @@ -227,7 +227,9 @@ func TestMkdirRmdir(t *testing.T, plainDir string) { } err = syscall.Unlink(dir + "/file") if err != nil { - t.Error(err) + var st syscall.Stat_t + syscall.Stat(dir, &st) + t.Errorf("err=%v mode=%0o", err, st.Mode) return } err = syscall.Rmdir(dir) |