Patchwork tests: adapt glob pattern to fix test with NetBSD's sh(1) (issue4484)

login
register
mail settings
Submitter Thomas Klausner
Date Dec. 28, 2014, 10:51 p.m.
Message ID <20141228225145.GV7071@danbala.tuwien.ac.at>
Download mbox | patch
Permalink /patch/7252/
State Accepted
Commit e8b09f920fe6b6c607b9f6a8c2416e2674578720
Headers show

Comments

Thomas Klausner - Dec. 28, 2014, 10:51 p.m.
# HG changeset patch
# User Thomas Klausner <tk@giga.or.at>
# Date 1419807008 -3600
#      Sun Dec 28 23:50:08 2014 +0100
# Node ID bc288ac5337867f8e292d403478447c58b391f9d
# Parent  293fdf449abd96eae197ee3a29b3efd86e2c00b1
tests: adapt glob pattern to fix test with NetBSD's sh(1) (issue4484)
Matt Mackall - Dec. 29, 2014, 9:24 p.m.
On Sun, 2014-12-28 at 23:51 +0100, Thomas Klausner wrote:
> # HG changeset patch
> # User Thomas Klausner <tk@giga.or.at>
> # Date 1419807008 -3600
> #      Sun Dec 28 23:50:08 2014 +0100
> # Node ID bc288ac5337867f8e292d403478447c58b391f9d
> # Parent  293fdf449abd96eae197ee3a29b3efd86e2c00b1
> tests: adapt glob pattern to fix test with NetBSD's sh(1) (issue4484)

These are queued for default, thanks. Congratulations on your first
Mercurial patches.

Patch

diff -r 293fdf449abd -r bc288ac53378 tests/test-run-tests.t
--- a/tests/test-run-tests.t	Sun Dec 28 21:30:52 2014 +0100
+++ b/tests/test-run-tests.t	Sun Dec 28 23:50:08 2014 +0100
@@ -181,22 +181,22 @@ 
 ======================
 
   $ $TESTDIR/run-tests.py --with-hg=`which hg` --debug 2>&1 | grep -v pwd
-  + echo SALT* 0 0 (glob)
-  SALT* 0 0 (glob)
+  + echo *SALT* 0 0 (glob)
+  *SALT* 0 0 (glob)
   + echo babar
   babar
-  + echo SALT* 4 0 (glob)
-  SALT* 4 0 (glob)
-  .+ echo SALT* 0 0 (glob)
-  SALT* 0 0 (glob)
+  + echo *SALT* 4 0 (glob)
+  *SALT* 4 0 (glob)
+  .+ echo *SALT* 0 0 (glob)
+  *SALT* 0 0 (glob)
   + echo babar
   babar
-  + echo SALT* 2 0 (glob)
-  SALT* 2 0 (glob)
+  + echo *SALT* 2 0 (glob)
+  *SALT* 2 0 (glob)
   + echo xyzzy
   xyzzy
-  + echo SALT* 4 0 (glob)
-  SALT* 4 0 (glob)
+  + echo *SALT* 4 0 (glob)
+  *SALT* 4 0 (glob)
   .
   # Ran 2 tests, 0 skipped, 0 warned, 0 failed.