comparison tests/test-help.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 117b9a101f71
children 8c14f87bd0ae
comparison
equal deleted inserted replaced
25470:378a8e700e02 25472:4d2b9b304ad0
1249 1249
1250 $ hg init "$TESTTMP/test" 1250 $ hg init "$TESTTMP/test"
1251 $ hg serve -R "$TESTTMP/test" -n test -p $HGPORT -d --pid-file=hg.pid 1251 $ hg serve -R "$TESTTMP/test" -n test -p $HGPORT -d --pid-file=hg.pid
1252 $ cat hg.pid >> $DAEMON_PIDS 1252 $ cat hg.pid >> $DAEMON_PIDS
1253 1253
1254 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help" 1254 $ get-with-headers.py 127.0.0.1:$HGPORT "help"
1255 200 Script output follows 1255 200 Script output follows
1256 1256
1257 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 1257 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1258 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 1258 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1259 <head> 1259 <head>
1800 1800
1801 </body> 1801 </body>
1802 </html> 1802 </html>
1803 1803
1804 1804
1805 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help/add" 1805 $ get-with-headers.py 127.0.0.1:$HGPORT "help/add"
1806 200 Script output follows 1806 200 Script output follows
1807 1807
1808 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 1808 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1809 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 1809 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1810 <head> 1810 <head>
1960 1960
1961 </body> 1961 </body>
1962 </html> 1962 </html>
1963 1963
1964 1964
1965 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help/remove" 1965 $ get-with-headers.py 127.0.0.1:$HGPORT "help/remove"
1966 200 Script output follows 1966 200 Script output follows
1967 1967
1968 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 1968 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1969 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 1969 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1970 <head> 1970 <head>
2153 2153
2154 </body> 2154 </body>
2155 </html> 2155 </html>
2156 2156
2157 2157
2158 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help/revisions" 2158 $ get-with-headers.py 127.0.0.1:$HGPORT "help/revisions"
2159 200 Script output follows 2159 200 Script output follows
2160 2160
2161 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2161 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2162 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> 2162 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
2163 <head> 2163 <head>
2248 2248
2249 </body> 2249 </body>
2250 </html> 2250 </html>
2251 2251
2252 2252
2253 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS 2253 $ killdaemons.py $DAEMON_PIDS
2254 2254
2255 #endif 2255 #endif