Patchwork test-revert-interactive: eliminate bashism in wildcard pattern

login
register
mail settings
Submitter Yuya Nishihara
Date March 19, 2015, 4:24 p.m.
Message ID <61690dc1b6b504ba57b1.1426782251@mimosa>
Download mbox | patch
Permalink /patch/8168/
State Accepted
Commit 93d3e1a8bfb0cadb5451366f760a8517ae9cf0e7
Headers show

Comments

Yuya Nishihara - March 19, 2015, 4:24 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1426778557 -32400
#      Fri Mar 20 00:22:37 2015 +0900
# Node ID 61690dc1b6b504ba57b17552b47acc3d684d1bcc
# Parent  d8d779487d89b51b2f874a791f44a21230ac577f
test-revert-interactive: eliminate bashism in wildcard pattern

The test failed with Debian dash.
Augie Fackler - March 19, 2015, 5:17 p.m.
On Fri, Mar 20, 2015 at 01:24:11AM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1426778557 -32400
> #      Fri Mar 20 00:22:37 2015 +0900
> # Node ID 61690dc1b6b504ba57b17552b47acc3d684d1bcc
> # Parent  d8d779487d89b51b2f874a791f44a21230ac577f
> test-revert-interactive: eliminate bashism in wildcard pattern

Queued this, thanks.

>
> The test failed with Debian dash.
>
> diff --git a/tests/test-revert-interactive.t b/tests/test-revert-interactive.t
> --- a/tests/test-revert-interactive.t
> +++ b/tests/test-revert-interactive.t
> @@ -18,7 +18,7 @@ 10 run the same test than 8 from within
>    > EOF
>
>
> -  $ mkdir -p a/{folder1,folder2}
> +  $ mkdir -p a/folder1 a/folder2
>    $ cd a
>    $ hg init
>    $ python $TESTDIR/seq.py 1 5 > f ; hg add f ; hg commit -m "adding f"
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/tests/test-revert-interactive.t b/tests/test-revert-interactive.t
--- a/tests/test-revert-interactive.t
+++ b/tests/test-revert-interactive.t
@@ -18,7 +18,7 @@  10 run the same test than 8 from within 
   > EOF
 
 
-  $ mkdir -p a/{folder1,folder2}
+  $ mkdir -p a/folder1 a/folder2
   $ cd a
   $ hg init
   $ python $TESTDIR/seq.py 1 5 > f ; hg add f ; hg commit -m "adding f"