Mercurial > hg
diff tests/test-obsolete.t @ 25472:4d2b9b304ad0
tests: drop explicit $TESTDIR from executables
$TESTDIR is added to the path, so this is superfluous. Also,
inconsistent use of quotes means we might have broken on tests with
paths containing spaces.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 08 Jun 2015 14:44:30 -0500 |
parents | 6084926366b9 |
children | 8c14f87bd0ae |
line wrap: on
line diff
--- a/tests/test-obsolete.t Fri Jun 05 22:53:15 2015 -0400 +++ b/tests/test-obsolete.t Mon Jun 08 14:44:30 2015 -0500 @@ -658,37 +658,37 @@ check changelog view - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'shortlog/' + $ get-with-headers.py --headeronly localhost:$HGPORT 'shortlog/' 200 Script output follows check graph view - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'graph' + $ get-with-headers.py --headeronly localhost:$HGPORT 'graph' 200 Script output follows check filelog view - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg log -r . -T "{node}"`/'babar' + $ get-with-headers.py --headeronly localhost:$HGPORT 'log/'`hg log -r . -T "{node}"`/'babar' 200 Script output follows - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/68' + $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/68' 200 Script output follows - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67' + $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/67' 404 Not Found [1] check that web.view config option: - $ "$TESTDIR/killdaemons.py" hg.pid + $ killdaemons.py hg.pid $ cat >> .hg/hgrc << EOF > [web] > view=all > EOF $ wait $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67' + $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/67' 200 Script output follows - $ "$TESTDIR/killdaemons.py" hg.pid + $ killdaemons.py hg.pid Checking _enable=False warning if obsolete marker exists @@ -756,7 +756,7 @@ no changes found [1] - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS + $ killdaemons.py $DAEMON_PIDS #endif @@ -885,15 +885,15 @@ $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/1' + $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/1' 404 Not Found [1] - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'file/tip/bar' + $ get-with-headers.py --headeronly localhost:$HGPORT 'file/tip/bar' 200 Script output follows - $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'annotate/tip/bar' + $ get-with-headers.py --headeronly localhost:$HGPORT 'annotate/tip/bar' 200 Script output follows - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS + $ killdaemons.py $DAEMON_PIDS #endif