ReadOnlyTest.Chmod

geesefs-0-30-9
Aaron Jacobs 2015-05-18 10:14:57 +10:00
parent 039f159ab1
commit f547825dfa
1 changed files with 2 additions and 1 deletions

View File

@ -1027,5 +1027,6 @@ func (t *ReadOnlyTest) Chtimes() {
}
func (t *ReadOnlyTest) Chmod() {
AssertTrue(false, "TODO")
err := os.Chmod(path.Join(t.Dir, "foo"), 0700)
ExpectThat(err, Error(HasSubstr("read-only")))
}