--- a/tests/test-mq-qnew.t Fri Oct 29 12:50:08 2010 +0200
+++ b/tests/test-mq-qnew.t Fri Oct 29 15:25:21 2010 +0200
@@ -23,6 +23,7 @@
> hg qinit -c
>
> echo '% qnew with name containing slash'
+ > hg qnew foo/
> hg qnew foo/bar.patch
> hg qseries
> hg qpop
@@ -105,6 +106,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
foo/bar.patch
popping foo/bar.patch
patch queue now empty
@@ -168,6 +170,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
foo/bar.patch
popping foo/bar.patch
patch queue now empty