Commit 40675bc3 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

unionfs: clarify test error message

parent 4255d6fd
......@@ -830,7 +830,7 @@ func TestUnionFsCopyChmod(t *testing.T) {
t.Fatalf("Lstat(%v): %v", fn, err)
}
if fi.Mode()&0111 == 0 {
t.Errorf("Lstat(%v): mode %o", fn, fi.Mode())
t.Errorf("Lstat(%v): got mode %o, want some +x bit", fn, fi.Mode())
}
time.Sleep(entryTTL)
fi, err = os.Lstat(fn)
......
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