--- a/tests/test-run-tests.t Fri Apr 13 21:30:55 2018 -0400
+++ b/tests/test-run-tests.t Fri Apr 13 21:51:10 2018 -0400
@@ -6,8 +6,7 @@
Smoke test with install
============
-
- $ run-tests.py $HGTEST_RUN_TESTS_PURE -l
+ $ $PYTHON $TESTDIR/run-tests.py $HGTEST_RUN_TESTS_PURE -l
# Ran 0 tests, 0 skipped, 0 failed.
@@ -15,14 +14,14 @@
=============
$ rt()
> {
- > run-tests.py --with-hg=`which hg` "$@"
+ > $PYTHON $TESTDIR/run-tests.py --with-hg=`which hg` "$@"
> }
error paths
#if symlink
$ ln -s `which true` hg
- $ run-tests.py --with-hg=./hg
+ $ $PYTHON $TESTDIR/run-tests.py --with-hg=./hg
warning: --with-hg should specify an hg script
# Ran 0 tests, 0 skipped, 0 failed.
@@ -31,7 +30,7 @@
#if execbit
$ touch hg
- $ run-tests.py --with-hg=./hg
+ $ $PYTHON $TESTDIR/run-tests.py --with-hg=./hg
usage: run-tests.py [options] [tests]
run-tests.py: error: --with-hg must specify an executable hg script
[2]