tests: test preserving execbit changes at amending only on execbit platform stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sun, 30 Oct 2016 06:15:09 +0900
branchstable
changeset 30240 8237c3359db5
parent 30239 6e04f4ec4875
child 30241 cac4ca036dff
tests: test preserving execbit changes at amending only on execbit platform
tests/test-commit-amend.t
--- a/tests/test-commit-amend.t	Sun Oct 30 06:15:09 2016 +0900
+++ b/tests/test-commit-amend.t	Sun Oct 30 06:15:09 2016 +0900
@@ -1156,6 +1156,8 @@
      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 @@
   old mode 100644
   new mode 100755
   
+#endif