Mercurial > hg
comparison tests/test-hgweb-json.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 | 1439bacf0ec7 |
children | 9de443515f1d |
comparison
equal
deleted
inserted
replaced
25470:378a8e700e02 | 25472:4d2b9b304ad0 |
---|---|
1 #require json | 1 #require json |
2 #require serve | 2 #require serve |
3 | 3 |
4 $ request() { | 4 $ request() { |
5 > $TESTDIR/get-with-headers.py --json localhost:$HGPORT "$1" | 5 > get-with-headers.py --json localhost:$HGPORT "$1" |
6 > } | 6 > } |
7 | 7 |
8 $ hg init test | 8 $ hg init test |
9 $ cd test | 9 $ cd test |
10 $ mkdir da | 10 $ mkdir da |