Mercurial > public > mercurial-scm > hg
diff tests/test-hgweb-raw.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 | 7a9cbb315d84 |
children | 636cf3f7620d |
line wrap: on
line diff
--- a/tests/test-hgweb-raw.t Fri Jun 05 22:53:15 2015 -0400 +++ b/tests/test-hgweb-raw.t Mon Jun 08 14:44:30 2015 -0500 @@ -17,9 +17,9 @@ $ hg serve -p $HGPORT -A access.log -E error.log -d --pid-file=hg.pid $ cat hg.pid >> $DAEMON_PIDS - $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '?f=bf0ff59095c9;file=sub/some%20text%25.txt;style=raw' content-type content-length content-disposition) >getoutput.txt + $ (get-with-headers.py localhost:$HGPORT '?f=bf0ff59095c9;file=sub/some%20text%25.txt;style=raw' content-type content-length content-disposition) >getoutput.txt - $ "$TESTDIR/killdaemons.py" hg.pid + $ killdaemons.py hg.pid $ cat getoutput.txt 200 Script output follows @@ -39,8 +39,8 @@ > --config web.guessmime=True $ cat hg.pid >> $DAEMON_PIDS - $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '?f=bf0ff59095c9;file=sub/some%20text%25.txt;style=raw' content-type content-length content-disposition) >getoutput.txt - $ "$TESTDIR/killdaemons.py" hg.pid + $ (get-with-headers.py localhost:$HGPORT '?f=bf0ff59095c9;file=sub/some%20text%25.txt;style=raw' content-type content-length content-disposition) >getoutput.txt + $ killdaemons.py hg.pid $ cat getoutput.txt 200 Script output follows