Mercurial > hg-stable
changeset 16960:be64115b4955
test-bisect: adapt for Windows
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 15 Jun 2012 01:02:44 +0200 |
parents | acba1281e064 |
children | cdbb53a640c1 |
files | tests/test-bisect.t |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-bisect.t Fri Jun 15 00:39:21 2012 +0200 +++ b/tests/test-bisect.t Fri Jun 15 01:02:44 2012 +0200 @@ -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