t0021: fix flaky test
commit7eeda8b8214bfd171f9ed1265ecc5bfa1d06c607
authorLars Schneider <larsxschneider@gmail.com>
Sun, 18 Dec 2016 12:37:48 +0000 (18 13:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Dec 2016 21:01:20 +0000 (18 13:01 -0800)
tree485572067fc7e3440d50d27a7b97b4b9fd8378de
parentc6b0831c9c1718b552872953b4949cef7d4726fe
t0021: fix flaky test

t0021.15 creates files, adds them to the index, and commits them. All
this usually happens in a test run within the same second and Git cannot
know if the files have been changed between `add` and `commit`.  Thus,
Git has to run the clean filter in both operations. Sometimes these
invocations spread over two different seconds and Git can infer that the
files were not changed between `add` and `commit` based on their
modification timestamp. The test would fail as it expects the filter
invocation. Remove this expectation to make the test stable.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh