comparison tests/test-hgweb-removed.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 339e3cc073ac
children 3bb6f5f478a7
comparison
equal deleted inserted replaced
25470:378a8e700e02 25472:4d2b9b304ad0
15 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log 15 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
16 $ cat hg.pid >> $DAEMON_PIDS 16 $ cat hg.pid >> $DAEMON_PIDS
17 17
18 revision 18 revision
19 19
20 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'rev/tip' 20 $ get-with-headers.py localhost:$HGPORT 'rev/tip'
21 200 Script output follows 21 200 Script output follows
22 22
23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
24 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 24 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
25 <head> 25 <head>
135 </html> 135 </html>
136 136
137 137
138 diff removed file 138 diff removed file
139 139
140 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'diff/tip/a' 140 $ get-with-headers.py localhost:$HGPORT 'diff/tip/a'
141 200 Script output follows 141 200 Script output follows
142 142
143 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 143 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
144 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 144 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
145 <head> 145 <head>