flush_fs_test: match another error message

geesefs-0-30-9
Michael Stapelberg 2019-09-18 16:27:50 +02:00
parent 3c60dc478a
commit cd3c1bb470
1 changed files with 1 additions and 1 deletions

View File

@ -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() {