Mercurial > hg
changeset 12960:e339346a9b05 stable
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.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Wed, 10 Nov 2010 13:48:23 +0100 |
parents | 27e4146d9241 |
children | ad63e5f834e1 |
files | tests/test-mq-qnew.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-mq-qnew.t Wed Nov 10 04:53:11 2010 -0600 +++ b/tests/test-mq-qnew.t Wed Nov 10 13:48:23 2010 +0100 @@ -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