[PATCH 01/11] p7519: use xargs -0 rather than -d in test
- From
- Jeff Hostetler via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Feb 1, 2021, 22:02 UTC
- Message-ID
- <cf252e24b8c4da19ee9f886a1ab9c9c391d89d66.1612216941.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.860.git.1612216941.gitgitgadget@gmail.com>
From: Jeff Hostetler <jeffhost@microsoft.com>
The Mac version of xargs does not support the "-d" option. Convert the test setup to pipe the data set thru `lf_to_nul | xargs -0` instead.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> --- t/perf/p7519-fsmonitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/perf/p7519-fsmonitor.sh b/t/perf/p7519-fsmonitor.sh index 9b43342806b..7bb37e9a6c1 100755 --- a/t/perf/p7519-fsmonitor.sh +++ b/t/perf/p7519-fsmonitor.sh @@ -165,7 +165,7 @@ test_fsmonitor_suite() { ' test_perf_w_drop_caches "status (dirty) ($DESC)" ' - git ls-files | head -100000 | xargs -d "\n" touch -h && + git ls-files | head -100000 | lf_to_nul | xargs -0 touch -h && git status '
-- gitgitgadget