changeset 15519:bb9ad375b51c

tests: add 'hghave system-sh' to skip tests on windows
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 16 Nov 2011 03:45:14 +0100
parents d01e08ea459d
children d6d7b56ec346
files 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
diffstat 6 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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