diff -r 14033c5dd261 -r ac49ecb2a897 tests/mockblackbox.py --- a/tests/mockblackbox.py Wed Feb 03 09:11:22 2016 +0000 +++ b/tests/mockblackbox.py Wed Feb 03 04:37:04 2016 +0000 @@ -4,8 +4,11 @@ return 0, 0 def getuser(): return 'bob' +def getpid(): + return 5000 # mock the date and user apis so the output is always the same def uisetup(ui): util.makedate = makedate util.getuser = getuser + util.getpid = getpid