Commit cd3c1bb4 authored by Michael Stapelberg's avatar Michael Stapelberg

flush_fs_test: match another error message

parent 3c60dc47
......@@ -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() {
......
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