diff tests/test-diff-color.t @ 16899:8149ff405c78

tests: convert some 'hghave execbit' to #if This enables some new tests for running on windows.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 10 Jun 2012 14:14:05 +0200
parents 46b991a1f428
children f2719b387380
line wrap: on
line diff
--- a/tests/test-diff-color.t	Sun Jun 10 13:01:40 2012 +0200
+++ b/tests/test-diff-color.t	Sun Jun 10 14:14:05 2012 +0200
@@ -1,5 +1,3 @@
-  $ "$TESTDIR/hghave" execbit || exit 80
-
 Setup
 
   $ echo "[color]" >> $HGRCPATH
@@ -74,6 +72,8 @@
   $ echo "[diff]" >> $HGRCPATH
   $ echo "git=True" >> $HGRCPATH
 
+#if execbit
+
 record
 
   $ chmod +x a
@@ -124,3 +124,5 @@
    a
    c
   \x1b[0;33mrecord this change to 'a'? [Ynesfdaq?]\x1b[0m  (esc)
+
+#endif