tests/test-chg.t
branchstable
changeset 51499 8b77ad54d67a
parent 51389 db5d7aee641e
equal deleted inserted replaced
51498:25055932042a 51499:8b77ad54d67a
   286 
   286 
   287 print only the last 10 lines, since we aren't sure how many records are
   287 print only the last 10 lines, since we aren't sure how many records are
   288 preserved (since setprocname isn't available on py3 and pure version,
   288 preserved (since setprocname isn't available on py3 and pure version,
   289 the 10th-most-recent line is different when using py3):
   289 the 10th-most-recent line is different when using py3):
   290 
   290 
   291   $ cat log/server.log.1 log/server.log | tail -10 | filterlog
   291 (the "worker process exited" line is matched independently as it order is unstable with the "exiting" line, the worker might exit before the server decide to exit).
       
   292 
       
   293   $ cat log/server.log.1 log/server.log | tail -10 | grep -v "worker process exited" | filterlog
   292   YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... (no-setprocname !)
   294   YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... (no-setprocname !)
   293   YYYY/MM/DD HH:MM:SS (PID)> forked worker process (pid=...)
   295   YYYY/MM/DD HH:MM:SS (PID)> forked worker process (pid=...)
   294   YYYY/MM/DD HH:MM:SS (PID)> setprocname: ... (setprocname !)
   296   YYYY/MM/DD HH:MM:SS (PID)> setprocname: ... (setprocname !)
   295   YYYY/MM/DD HH:MM:SS (PID)> received fds: ...
   297   YYYY/MM/DD HH:MM:SS (PID)> received fds: ...
   296   YYYY/MM/DD HH:MM:SS (PID)> chdir to '$TESTTMP/extreload'
   298   YYYY/MM/DD HH:MM:SS (PID)> chdir to '$TESTTMP/extreload'
   297   YYYY/MM/DD HH:MM:SS (PID)> setumask 18
   299   YYYY/MM/DD HH:MM:SS (PID)> setumask 18
   298   YYYY/MM/DD HH:MM:SS (PID)> setenv: ...
   300   YYYY/MM/DD HH:MM:SS (PID)> setenv: ...
   299   YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ...
   301   YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ...
   300   YYYY/MM/DD HH:MM:SS (PID)> validate: []
   302   YYYY/MM/DD HH:MM:SS (PID)> validate: []
       
   303   YYYY/MM/DD HH:MM:SS (PID)> $TESTTMP/extreload/chgsock/server-... is not owned, exiting.
       
   304   $ cat log/server.log.1 log/server.log | tail -10 | grep "worker process exited" | filterlog
   301   YYYY/MM/DD HH:MM:SS (PID)> worker process exited (pid=...)
   305   YYYY/MM/DD HH:MM:SS (PID)> worker process exited (pid=...)
   302   YYYY/MM/DD HH:MM:SS (PID)> $TESTTMP/extreload/chgsock/server-... is not owned, exiting.
       
   303 
   306 
   304 global data mutated by schems
   307 global data mutated by schems
   305 -----------------------------
   308 -----------------------------
   306 
   309 
   307   $ hg init schemes
   310   $ hg init schemes