Comments
Patch
@@ -6,32 +6,31 @@
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.
Define a helper to avoid the install step
=============
$ 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.
$ rm hg
#endif
#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]