p7519: do not rely on "xargs -d" in test
commiteb10e637cf04a19b9a3d5d7c904d71bc9e4ea408
authorJeff Hostetler <jeffhost@microsoft.com>
Wed, 3 Feb 2021 15:34:40 +0000 (3 15:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2021 01:14:34 +0000 (16 17:14 -0800)
treea4a881474665b96228cca2229dc7f5bab7b70459
parent71ca53e8125e36efbda17293c50027d31681a41f
p7519: do not rely on "xargs -d" in test

Convert the test to use a more portable method to update the mtime on a
large number of files under version control.

The Mac version of xargs does not support the "-d" option.
Likewise, the "-0" and "--null" options are not portable.

Furthermore, use `test-tool chmtime` rather than `touch` to update the
mtime to ensure that it is actually updated (especially on file systems
with only whole second resolution).

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p7519-fsmonitor.sh