Skip to content

Commit

Permalink
flush_fs_test: match another error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Sep 18, 2019
1 parent 3c60dc4 commit cd3c1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/flushfs/flush_fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit cd3c1bb

Please sign in to comment.