--- a/tests/test-git-export.t Sun Jun 10 13:01:40 2012 +0200
+++ b/tests/test-git-export.t Sun Jun 10 14:14:05 2012 +0200
@@ -1,5 +1,3 @@
- $ "$TESTDIR/hghave" execbit || exit 80
-
$ hg init
$ echo start > start
$ hg ci -Amstart
@@ -58,6 +56,8 @@
$ hg ci -Amsrc
adding src
+#if execbit
+
chmod 644:
$ chmod +x src
@@ -94,6 +94,17 @@
old mode 100644
new mode 100755
+#else
+
+Dummy changes when no exec bit, mocking the execbit commit structure
+
+ $ echo change >> src
+ $ hg ci -munexec
+ $ hg mv src dst
+ $ hg ci -mrenamemod
+
+#endif
+
Binary diff:
$ cp "$TESTDIR/binfile.bin" .