[PATCH 01/16] t/test-lib: avoid using git on LHS of pipe
From: Jeff Hostetler <jeffhost@microsoft.com>
fixup! help: include fsmonitor--daemon feature flag in version info
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
---
t/test-lib.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 46cd596e7f5..5d819c1bc11 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1803,5 +1803,6 @@ GIT_TEST_MAINT_SCHEDULER="none:exit 1"
# Does this platform support `git fsmonitor--daemon`
#
test_lazy_prereq FSMONITOR_DAEMON '
- git version --build-options | grep "feature:" | grep "fsmonitor--daemon"
+ git version --build-options >output &&
+ grep "feature: fsmonitor--daemon" output
'
--
gitgitgadget