--- a/tests/test-run-tests.t Tue Feb 16 14:49:29 2016 +0000
+++ b/tests/test-run-tests.t Thu Feb 18 08:52:15 2016 +0000
@@ -718,3 +718,13 @@
$ rt $HGTEST_RUN_TESTS_PURE --allow-slow-tests test-very-slow-test.t
.
# Ran 1 tests, 0 skipped, 0 warned, 0 failed.
+
+support for running a test outside the current directory
+ $ mkdir nonlocal
+ $ cat > nonlocal/test-is-not-here.t << EOF
+ > $ echo pass
+ > pass
+ > EOF
+ $ rt nonlocal/test-is-not-here.t
+ .
+ # Ran 1 tests, 0 skipped, 0 warned, 0 failed.