equal
deleted
inserted
replaced
17 $ hg serve -p $HGPORT -A access.log -E error.log -d --pid-file=hg.pid |
17 $ hg serve -p $HGPORT -A access.log -E error.log -d --pid-file=hg.pid |
18 |
18 |
19 $ cat hg.pid >> $DAEMON_PIDS |
19 $ cat hg.pid >> $DAEMON_PIDS |
20 $ ("$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 |
20 $ ("$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 |
21 |
21 |
22 $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done |
22 $ "$TESTDIR/killdaemons.py" hg.pid |
23 |
23 |
24 $ cat getoutput.txt |
24 $ cat getoutput.txt |
25 200 Script output follows |
25 200 Script output follows |
26 content-type: application/binary |
26 content-type: application/binary |
27 content-length: 157 |
27 content-length: 157 |
38 $ hg serve -p $HGPORT -A access.log -E error.log -d --pid-file=hg.pid \ |
38 $ hg serve -p $HGPORT -A access.log -E error.log -d --pid-file=hg.pid \ |
39 > --config web.guessmime=True |
39 > --config web.guessmime=True |
40 |
40 |
41 $ cat hg.pid >> $DAEMON_PIDS |
41 $ cat hg.pid >> $DAEMON_PIDS |
42 $ ("$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 |
42 $ ("$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 |
43 $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done |
43 $ "$TESTDIR/killdaemons.py" hg.pid |
44 |
44 |
45 $ cat getoutput.txt |
45 $ cat getoutput.txt |
46 200 Script output follows |
46 200 Script output follows |
47 content-type: text/plain; charset="ascii" |
47 content-type: text/plain; charset="ascii" |
48 content-length: 157 |
48 content-length: 157 |