##// END OF EJS Templates
test-hgweb-raw.t: use killdaemons instead of kill `cat pidfile`
Augie Fackler -
r18589:91aac279 default
parent child Browse files
Show More
@@ -10,10 +10,6 b' New errors are not allowed. Warnings are'
10
10
11 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \
11 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \
12 > || false
12 > || false
13 tests/test-hgweb-raw.t:0:
14 > $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done
15 don't use kill, use killdaemons.py
16 don't use kill, use killdaemons.py
17 tests/test-inotify-debuginotify.t:0:
13 tests/test-inotify-debuginotify.t:0:
18 > $ kill `cat hg.pid`
14 > $ kill `cat hg.pid`
19 don't use kill, use killdaemons.py
15 don't use kill, use killdaemons.py
@@ -19,7 +19,7 b' Test raw style of hgweb'
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
@@ -40,7 +40,7 b' Test raw style of hgweb'
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
General Comments 0
You need to be logged in to leave comments. Login now