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

login
register
mail settings
Submitter Matt Harbison
Date April 30, 2015, 4:34 a.m.
Message ID <28b83c783379be45e623.1430368497@Envy>
Download mbox | patch
Permalink /patch/8820/
State Accepted
Headers show

Comments

Matt Harbison - April 30, 2015, 4:34 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@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..
Matt Mackall - April 30, 2015, 4:40 p.m.
On Thu, 2015-04-30 at 00:34 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@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

Queued for stable, thanks.

Patch

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 @@