##// END OF EJS Templates
tests: test that the pid returned by `hg serve` looks reasonable...
Simon Heimberg -
r20426:00f2d293 default
parent child Browse files
Show More
@@ -29,6 +29,15 b' Both are empty:'
29 29 $ hg init empty1
30 30 $ hg init empty2
31 31 $ tstart empty2
32 check if process of pid looks reasonable ('hg' normally, 'python' for run-tests.py -l)
33 #if windows
34 ps of mingw does not support -p, tasklist is on any windows machine since XP
35 $ tasklist //NH //fi "pid eq `cat hg.pid`" | grep ' '
36 (.* )?(hg|python)\.exe( .*)? (re)
37 #else
38 $ ps --no-heading -p `cat hg.pid`
39 (.* )?(hg|python)( .*)? (re)
40 #endif
32 41 $ hg incoming -R empty1 $remote
33 42 comparing with http://localhost:$HGPORT/
34 43 no changes found
General Comments 0
You need to be logged in to leave comments. Login now