Commits

Dan Villiom Podlaski Christiansen committed e339346

test-mq-qnew: handle Mac OS X error strings.

On Mac OS X, opening a file called '42/' results in ENOENT and not
EISDIR if the directory doesn't exist.

  • Participants
  • Parent commits 27e4146
  • Branches stable

Comments (0)

Files changed (1)

File tests/test-mq-qnew.t

   abort: "foo#bar" cannot be used as the name of a patch
   abort: "foo:bar" cannot be used as the name of a patch
   % qnew with name containing slash
-  abort: cannot write patch "foo/": Is a directory
+  abort: cannot write patch "foo/": (Is a|No such file or) directory (re)
   abort: "foo" already exists as a directory
   foo/bar.patch
   popping foo/bar.patch
   abort: "foo#bar" cannot be used as the name of a patch
   abort: "foo:bar" cannot be used as the name of a patch
   % qnew with name containing slash
-  abort: cannot write patch "foo/": Is a directory
+  abort: cannot write patch "foo/": (Is a|No such file or) directory (re)
   abort: "foo" already exists as a directory
   foo/bar.patch
   popping foo/bar.patch