ReadOnlyTest.Chmod
parent
039f159ab1
commit
f547825dfa
|
@ -1027,5 +1027,6 @@ func (t *ReadOnlyTest) Chtimes() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *ReadOnlyTest) Chmod() {
|
func (t *ReadOnlyTest) Chmod() {
|
||||||
AssertTrue(false, "TODO")
|
err := os.Chmod(path.Join(t.Dir, "foo"), 0700)
|
||||||
|
ExpectThat(err, Error(HasSubstr("read-only")))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue