Mercurial > hg
diff tests/test-obsolete-tag-cache.t @ 28242:e8ad56d95fbb
tests: mock getpid to reduce glob usage
Updating tests based on ac49ecb2a897.
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 24 Feb 2016 20:04:32 +0000 |
parents | ab6468270b83 |
children | caa2a0c6fbb7 |
line wrap: on
line diff
--- a/tests/test-obsolete-tag-cache.t Mon Feb 22 14:43:14 2016 -0800 +++ b/tests/test-obsolete-tag-cache.t Wed Feb 24 20:04:32 2016 +0000 @@ -68,11 +68,11 @@ 55482a6fb4b1881fa8f746fd52cf6f096bb21c89 test1 $ hg blackbox -l 5 - 1970/01/01 00:00:00 bob (*)> tags (glob) - 1970/01/01 00:00:00 bob (*)> 2/2 cache hits/lookups in * seconds (glob) - 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 2 tags (glob) - 1970/01/01 00:00:00 bob (*)> tags exited 0 after * seconds (glob) - 1970/01/01 00:00:00 bob (*)> blackbox -l 5 (glob) + 1970/01/01 00:00:00 bob (5000)> tags + 1970/01/01 00:00:00 bob (5000)> 2/2 cache hits/lookups in * seconds (glob) + 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 2 tags + 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob) + 1970/01/01 00:00:00 bob (5000)> blackbox -l 5 Hiding another changeset should cause the filtered hash to change @@ -88,11 +88,11 @@ 042eb6bfcc4909bad84a1cbf6eb1ddf0ab587d41 head2 $ hg blackbox -l 5 - 1970/01/01 00:00:00 bob (*)> tags (glob) - 1970/01/01 00:00:00 bob (*)> 1/1 cache hits/lookups in * seconds (glob) - 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob) - 1970/01/01 00:00:00 bob (*)> tags exited 0 after * seconds (glob) - 1970/01/01 00:00:00 bob (*)> blackbox -l 5 (glob) + 1970/01/01 00:00:00 bob (5000)> tags + 1970/01/01 00:00:00 bob (5000)> 1/1 cache hits/lookups in * seconds (glob) + 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags + 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob) + 1970/01/01 00:00:00 bob (5000)> blackbox -l 5 Resolving tags on an unfiltered repo writes a separate tags cache @@ -109,8 +109,8 @@ d75775ffbc6bca1794d300f5571272879bd280da test2 $ hg blackbox -l 5 - 1970/01/01 00:00:00 bob (*)> --hidden tags (glob) - 1970/01/01 00:00:00 bob (*)> 2/2 cache hits/lookups in * seconds (glob) - 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2 with 3 tags (glob) - 1970/01/01 00:00:00 bob (*)> --hidden tags exited 0 after * seconds (glob) - 1970/01/01 00:00:00 bob (*)> blackbox -l 5 (glob) + 1970/01/01 00:00:00 bob (5000)> --hidden tags + 1970/01/01 00:00:00 bob (5000)> 2/2 cache hits/lookups in * seconds (glob) + 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2 with 3 tags + 1970/01/01 00:00:00 bob (5000)> --hidden tags exited 0 after * seconds (glob) + 1970/01/01 00:00:00 bob (5000)> blackbox -l 5