# HG changeset patch # User Anton Shestakov # Date 1615983581 -28800 # Node ID bf8a61f1c616222c60511b00e5b495c35320d09f # Parent ed0b6dd95d6687303311af308247a7b2f708d96e tests: add some cache sanity checks based on already existing debug commands diff -r ed0b6dd95d66 -r bf8a61f1c616 tests/test-discovery-obshashrange-cache.t --- a/tests/test-discovery-obshashrange-cache.t Wed Mar 17 14:48:13 2021 +0800 +++ b/tests/test-discovery-obshashrange-cache.t Wed Mar 17 20:19:41 2021 +0800 @@ -205,3 +205,18 @@ 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 0050: 00 00 00 00 00 00 00 00 00 00 00 00 |............| + + $ hg -R main debugdepth --rev 'all()' --method compare --debug + 1ea73414a91b 1 + 66f7d451a68b 2 + 01241442b3c2 3 + 2dc09a01254d 4 + bebd167eb94d 5 + c8d03c1b5e94 6 + f69452c5b1af 7 + 4de32a90b66c 8 + + $ hg -R main debugstablesortcache --debug + number of revisions: 8 + number of merge: 0 + number of jumps: 0