Mercurial > hg
comparison tests/test-blackbox.t @ 28028:ac49ecb2a897
tests: mock getpid to reduce glob usage
With util.getpid, it is now possible to define fixed pids.
Future iterations can define a map of pids on a locked
first come first serve basis to create a more realistic
harness, but for now this is good enough.
This applies to blackbox, but could apply to other
tests as well.
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 03 Feb 2016 04:37:04 +0000 |
parents | ab6468270b83 |
children | 72072cfc7e91 |
comparison
equal
deleted
inserted
replaced
28027:14033c5dd261 | 28028:ac49ecb2a897 |
---|---|
106 $ hg strip tip | 106 $ hg strip tip |
107 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | 107 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
108 saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob) | 108 saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob) |
109 $ hg blackbox -l 6 | 109 $ hg blackbox -l 6 |
110 1970/01/01 00:00:00 bob (*)> strip tip (glob) | 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 1970/01/01 00:00:00 bob (*)> updated base branch cache in * seconds (glob) | 112 1970/01/01 00:00:00 bob (*)> updated base branch cache in * seconds (glob) |
113 1970/01/01 00:00:00 bob (*)> wrote base branch cache with 1 labels and 2 nodes (glob) | 113 1970/01/01 00:00:00 bob (*)> wrote base branch cache with 1 labels and 2 nodes (glob) |
114 1970/01/01 00:00:00 bob (*)> strip tip exited 0 after * seconds (glob) | 114 1970/01/01 00:00:00 bob (*)> strip tip exited 0 after * seconds (glob) |
115 1970/01/01 00:00:00 bob (*)> blackbox -l 6 (glob) | 115 1970/01/01 00:00:00 bob (*)> blackbox -l 6 (glob) |
116 | 116 |