test-lib-functions.sh: initialize empty $test_tick
commitafc0b1f4464b3302fcedf41336ad976ef7295103
authorKyle J. McKay <mackyle@gmail.com>
Mon, 29 May 2017 13:41:30 +0000 (29 06:41 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 29 May 2017 13:41:30 +0000 (29 06:41 -0700)
tree66c3e0b470cfb2c9ce09ad708462fc63148d8546
parent212c01a30447d62fa2f3f85c8c0d211a99451b1a
test-lib-functions.sh: initialize empty $test_tick

When test_tick is called, initialize the test_tick
variable to the magic starting value not just when
it's unset but also when it's set to an empty string.

To get the old behavior the test_tick variable should
be explicitly set to "0" instead of the empty string.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
t/README-TESTLIB
t/test-lib-functions.sh