equal
deleted
inserted
replaced
581 > foo |
581 > foo |
582 > EOF |
582 > EOF |
583 $ run-tests.py test-hghave.t |
583 $ run-tests.py test-hghave.t |
584 . |
584 . |
585 # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
585 # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
586 |
|
587 test that RUNTESTDIR refers the directory, in which `run-tests.py` now |
|
588 running is placed. |
|
589 |
|
590 $ cat > test-runtestdir.t <<EOF |
|
591 > - $TESTDIR, in which test-run-tests.t is placed |
|
592 > - \$TESTDIR, in which test-runtestdir.t is placed (expanded at runtime) |
|
593 > - \$RUNTESTDIR, in which run-tests.py is placed (expanded at runtime) |
|
594 > |
|
595 > $ test "\$TESTDIR" = "$TESTTMP"/anothertests |
|
596 > $ test "\$RUNTESTDIR" = "$TESTDIR" |
|
597 > $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py |
|
598 > #!/usr/bin/env python |
|
599 > # |
|
600 > # check-code - a style and portability checker for Mercurial |
|
601 > EOF |
|
602 $ run-tests.py test-runtestdir.t |
|
603 . |
|
604 # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |