tests: add 'hghave system-sh' to skip tests on windows
authorMads Kiilerich <mads@kiilerich.com>
Wed, 16 Nov 2011 03:45:14 +0100
changeset 15519 bb9ad375b51c
parent 15518 d01e08ea459d
child 15520 d6d7b56ec346
tests: add 'hghave system-sh' to skip tests on windows
tests/test-bisect.t
tests/test-bundle.t
tests/test-merge-tools.t
tests/test-patchbomb.t
tests/test-pending.t
tests/test-tag.t
--- a/tests/test-bisect.t	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-bisect.t	Wed Nov 16 03:45:14 2011 +0100
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" system-sh || exit 80
+
   $ hg init
 
 
--- a/tests/test-bundle.t	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-bundle.t	Wed Nov 16 03:45:14 2011 +0100
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" system-sh || exit 80
+
 Setting up test
 
   $ hg init test
--- a/tests/test-merge-tools.t	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-merge-tools.t	Wed Nov 16 03:45:14 2011 +0100
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" system-sh || exit 80
+
 test merge-tools configuration - mostly exercising filemerge.py
 
   $ unset HGMERGE # make sure HGMERGE doesn't interfere with the test
--- a/tests/test-patchbomb.t	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-patchbomb.t	Wed Nov 16 03:45:14 2011 +0100
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" system-sh || exit 80
+
   $ fixheaders()
   > {
   >     sed -e 's/\(Message-Id:.*@\).*/\1/'  \
--- a/tests/test-pending.t	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-pending.t	Wed Nov 16 03:45:14 2011 +0100
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" system-sh || exit 80
+
 Verify that pending changesets are seen by pretxn* hooks but not by other
 processes that access the destination repo while the hooks are running.
 
--- a/tests/test-tag.t	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-tag.t	Wed Nov 16 03:45:14 2011 +0100
@@ -1,3 +1,5 @@
+  $ "$TESTDIR/hghave" system-sh || exit 80
+
   $ hg init test
   $ cd test