[PATCH STABLE] test-commit-interactive: add more globs for no-execbit platforms

Matt Harbison mharbison72 at gmail.com
Thu Apr 30 04:34:57 UTC 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1430366125 14400
#      Wed Apr 29 23:55:25 2015 -0400
# Branch stable
# Node ID 28b83c783379be45e62349ba631ff1c3940b1342
# Parent  2080952cde78a59268326126026a35076f7afbe7
test-commit-interactive: add more globs for no-execbit platforms

The ability to set the exec bit on Windows would be real handy for this test..

diff --git a/tests/test-commit-interactive.t b/tests/test-commit-interactive.t
--- a/tests/test-commit-interactive.t
+++ b/tests/test-commit-interactive.t
@@ -1483,14 +1483,15 @@
   +foo
   record this change to 'folder/bar'? [Ynesfdaq?] y
   
+The #if execbit block above changes the hashes here on some systems
   $ hg tip -p
-  changeset:   32:fb46c2a66466
+  changeset:   32:* (glob)
   tag:         tip
   user:        test
   date:        Thu Jan 01 00:00:23 1970 +0000
   summary:     newfilesubdir
   
-  diff -r 34c65441ddfb -r fb46c2a66466 folder/bar
+  diff -r * -r * folder/bar (glob)
   --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   +++ b/folder/bar	Thu Jan 01 00:00:23 1970 +0000
   @@ -0,0 +1,1 @@


More information about the Mercurial-devel mailing list