more war on "sleep" in tests
commit713c79e84bb148b8166d866755d155f64b270ac9
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Apr 2010 22:09:57 +0000 (14 15:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Apr 2010 01:20:23 +0000 (17 18:20 -0700)
treeb157df13164fd9c0a59c5bbdca7ea789c369537f
parenteb523a8d795e31e84cc8af5c43b913ed0cd073b1
more war on "sleep" in tests

Two more tests that sleep only to waste tick can be converted to use
test_tick and take expiry parameters relative to $test_tick.  The basic
idea is to replace "sleep 1" with "test_tick" to cause the "time" to pass.

These tests are interested in expiring things with "now" as the timestamp,
soo use a timestamp relative to $test_tick to give them more stability and
reproducibility.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7700-repack.sh
t/t7701-repack-unpack-unreachable.sh