[PATCH] test-bisect: adapt for Windows
Adrian Buehlmann
adrian at cadifra.com
Thu Jun 14 23:10:41 UTC 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339714964 -7200
# Node ID be64115b495522d575fe92193000f9f7ded33125
# Parent acba1281e06469ce1404e304ac62145f09ca8a51
test-bisect: adapt for Windows
diff --git a/tests/test-bisect.t b/tests/test-bisect.t
--- a/tests/test-bisect.t
+++ b/tests/test-bisect.t
@@ -1,5 +1,3 @@
- $ "$TESTDIR/hghave" system-sh || exit 80
-
$ hg init
@@ -461,7 +459,7 @@
$ hg bisect --bad 0
Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- $ hg bisect --command "'`pwd`/script.py' and some parameters"
+ $ hg bisect --command "python \"$TESTTMP/script.py\" and some parameters"
changeset 15:e7fa0811edb0: good
changeset 7:03750880c6b5: good
changeset 3:b53bea5e2fcb: bad
@@ -494,7 +492,7 @@
$ hg bisect --good tip --noupdate
$ hg bisect --bad 0 --noupdate
Testing changeset 15:e7fa0811edb0 (31 changesets remaining, ~4 tests)
- $ hg bisect --command "'`pwd`/script.sh' and some params" --noupdate
+ $ hg bisect --command "sh \"$TESTTMP/script.sh\" and some params" --noupdate
changeset 15:e7fa0811edb0: good
changeset 7:03750880c6b5: good
changeset 3:b53bea5e2fcb: bad
More information about the Mercurial-devel
mailing list