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

Thomas Klausner tk at giga.or.at
Sun Dec 28 22:51:45 UTC 2014


# HG changeset patch
# User Thomas Klausner <tk at 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)

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.
 


More information about the Mercurial-devel mailing list