Skip to content
Snippets Groups Projects
Commit e339346a authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

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.
parent 27e4146d
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@
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
......@@ -172,7 +172,7 @@
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment