Patchwork [4,of,4,STABLE] tests: test preserving execbit changes at amending only on execbit platform

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Oct. 29, 2016, 9:20 p.m.
Message ID <8237c3359db549091513.1477776040@juju>
Download mbox | patch
Permalink /patch/17227/
State Accepted
Headers show

Comments

Katsunori FUJIWARA - Oct. 29, 2016, 9:20 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1477775709 -32400
#      Sun Oct 30 06:15:09 2016 +0900
# Branch stable
# Node ID 8237c3359db54909151325d6d79806402dfdb1a4
# Parent  6e04f4ec487501d48effcd2864a1c7f73ad6d8de
tests: test preserving execbit changes at amending only on execbit platform

Patch

diff --git a/tests/test-commit-amend.t b/tests/test-commit-amend.t
--- a/tests/test-commit-amend.t
+++ b/tests/test-commit-amend.t
@@ -1156,6 +1156,8 @@  directory)
      rev    offset  length  delta linkrev nodeid       p1           p2
        0         0      88     -1       3 34a4d536c0c0 000000000000 000000000000
 
+#if execbit
+
 Test if amend preserves executable bit changes
   $ chmod +x newdirname/commonfile.py
   $ hg ci -m chmod
@@ -1174,3 +1176,4 @@  Test if amend preserves executable bit c
   old mode 100644
   new mode 100755
   
+#endif