##// END OF EJS Templates
tests: mock getpid to reduce glob usage...
timeless -
r28028:ac49ecb2 default
parent child Browse files
Show More
@@ -4,8 +4,11 b' def makedate():'
4 4 return 0, 0
5 5 def getuser():
6 6 return 'bob'
7 def getpid():
8 return 5000
7 9
8 10 # mock the date and user apis so the output is always the same
9 11 def uisetup(ui):
10 12 util.makedate = makedate
11 13 util.getuser = getuser
14 util.getpid = getpid
@@ -108,7 +108,7 b' backup bundles get logged'
108 108 saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob)
109 109 $ hg blackbox -l 6
110 110 1970/01/01 00:00:00 bob (*)> strip tip (glob)
111 1970/01/01 00:00:00 bob (*)> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob)
111 1970/01/01 00:00:00 bob (*)> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/73f6ee326b27-7612e004-backup.hg (glob)
112 112 1970/01/01 00:00:00 bob (*)> updated base branch cache in * seconds (glob)
113 113 1970/01/01 00:00:00 bob (*)> wrote base branch cache with 1 labels and 2 nodes (glob)
114 114 1970/01/01 00:00:00 bob (*)> strip tip exited 0 after * seconds (glob)
General Comments 0
You need to be logged in to leave comments. Login now