summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-12-08 15:11:20 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-12-08 15:11:20 -0800
commit8e2def76f76cdf531034d13170e317afeb100d23 (patch)
treebf8647d6dbbedfa961b3512af6b01753d9e55bd8
parentMerge branch 'ma/grep-init-default' (diff)
parentperf/fsmonitor: use test_must_be_empty helper (diff)
downloadtgif-8e2def76f76cdf531034d13170e317afeb100d23.tar.xz
Merge branch 'nk/perf-fsmonitor-cleanup'
Test clean-up. * nk/perf-fsmonitor-cleanup: perf/fsmonitor: use test_must_be_empty helper
-rwxr-xr-xt/perf/p7519-fsmonitor.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/perf/p7519-fsmonitor.sh b/t/perf/p7519-fsmonitor.sh
index 163a13bea3..9b43342806 100755
--- a/t/perf/p7519-fsmonitor.sh
+++ b/t/perf/p7519-fsmonitor.sh
@@ -129,8 +129,7 @@ setup_for_fsmonitor() {
git config core.fsmonitor "$INTEGRATION_SCRIPT" &&
git update-index --fsmonitor 2>error &&
- cat error &&
- [ ! -s error ] # ensure no silent error
+ test_must_be_empty error # ensure no silent error
}
test_perf_w_drop_caches () {