flush_fs_test: match another error message
parent
3c60dc478a
commit
cd3c1bb470
|
@ -1042,7 +1042,7 @@ func (t *ReadOnlyTest) OpenForWrite() {
|
|||
|
||||
func (t *ReadOnlyTest) Chtimes() {
|
||||
err := os.Chtimes(path.Join(t.Dir, "foo"), time.Now(), time.Now())
|
||||
ExpectThat(err, Error(MatchesRegexp("read-only|not permitted")))
|
||||
ExpectThat(err, Error(MatchesRegexp("read-only|not permitted|permission denied")))
|
||||
}
|
||||
|
||||
func (t *ReadOnlyTest) Chmod() {
|
||||
|
|
Loading…
Reference in New Issue