changeset 30240:8237c3359db5 stable

tests: test preserving execbit changes at amending only on execbit platform
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sun, 30 Oct 2016 06:15:09 +0900
parents 6e04f4ec4875
children cac4ca036dff
files tests/test-commit-amend.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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