##// END OF EJS Templates
tests: fix test-chg.t to work with py3 (no setprocname)...
Kyle Lippincott -
r44239:fe94af4e default
parent child Browse files
Show More
@@ -229,11 +229,13 b' check that server events are recorded:'
229 server.log.1
229 server.log.1
230
230
231 print only the last 10 lines, since we aren't sure how many records are
231 print only the last 10 lines, since we aren't sure how many records are
232 preserved:
232 preserved (since setprocname isn't available on py3, the 10th-most-recent line
233 is different when using py3):
233
234
234 $ cat log/server.log.1 log/server.log | tail -10 | filterlog
235 $ cat log/server.log.1 log/server.log | tail -10 | filterlog
236 YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... (py3 !)
235 YYYY/MM/DD HH:MM:SS (PID)> forked worker process (pid=...)
237 YYYY/MM/DD HH:MM:SS (PID)> forked worker process (pid=...)
236 YYYY/MM/DD HH:MM:SS (PID)> setprocname: ...
238 YYYY/MM/DD HH:MM:SS (PID)> setprocname: ... (no-py3 !)
237 YYYY/MM/DD HH:MM:SS (PID)> received fds: ...
239 YYYY/MM/DD HH:MM:SS (PID)> received fds: ...
238 YYYY/MM/DD HH:MM:SS (PID)> chdir to '$TESTTMP/extreload'
240 YYYY/MM/DD HH:MM:SS (PID)> chdir to '$TESTTMP/extreload'
239 YYYY/MM/DD HH:MM:SS (PID)> setumask 18
241 YYYY/MM/DD HH:MM:SS (PID)> setumask 18
General Comments 0
You need to be logged in to leave comments. Login now