Mercurial > hg
comparison tests/test-hgweb-descend-empties.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 | fe0aac1082f3 |
children | 1cac419ab831 |
comparison
equal
deleted
inserted
replaced
25470:378a8e700e02 | 25472:4d2b9b304ad0 |
---|---|
27 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log | 27 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
28 $ cat hg.pid >> $DAEMON_PIDS | 28 $ cat hg.pid >> $DAEMON_PIDS |
29 | 29 |
30 manifest with descending (paper) | 30 manifest with descending (paper) |
31 | 31 |
32 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file' | 32 $ get-with-headers.py 127.0.0.1:$HGPORT 'file' |
33 200 Script output follows | 33 200 Script output follows |
34 | 34 |
35 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | 35 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
36 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | 36 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
37 <head> | 37 <head> |
143 </html> | 143 </html> |
144 | 144 |
145 | 145 |
146 manifest with descending (coal) | 146 manifest with descending (coal) |
147 | 147 |
148 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file?style=coal' | 148 $ get-with-headers.py 127.0.0.1:$HGPORT 'file?style=coal' |
149 200 Script output follows | 149 200 Script output follows |
150 | 150 |
151 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | 151 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
152 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | 152 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
153 <head> | 153 <head> |
259 </html> | 259 </html> |
260 | 260 |
261 | 261 |
262 manifest with descending (monoblue) | 262 manifest with descending (monoblue) |
263 | 263 |
264 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file?style=monoblue' | 264 $ get-with-headers.py 127.0.0.1:$HGPORT 'file?style=monoblue' |
265 200 Script output follows | 265 200 Script output follows |
266 | 266 |
267 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 267 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
268 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | 268 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
269 <head> | 269 <head> |
378 </html> | 378 </html> |
379 | 379 |
380 | 380 |
381 manifest with descending (gitweb) | 381 manifest with descending (gitweb) |
382 | 382 |
383 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file?style=gitweb' | 383 $ get-with-headers.py 127.0.0.1:$HGPORT 'file?style=gitweb' |
384 200 Script output follows | 384 200 Script output follows |
385 | 385 |
386 <?xml version="1.0" encoding="ascii"?> | 386 <?xml version="1.0" encoding="ascii"?> |
387 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 387 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
388 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> | 388 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> |
482 </html> | 482 </html> |
483 | 483 |
484 | 484 |
485 manifest with descending (spartan) | 485 manifest with descending (spartan) |
486 | 486 |
487 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file?style=spartan' | 487 $ get-with-headers.py 127.0.0.1:$HGPORT 'file?style=spartan' |
488 200 Script output follows | 488 200 Script output follows |
489 | 489 |
490 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | 490 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
491 <html> | 491 <html> |
492 <head> | 492 <head> |