Skip to content

Commit 784ce03

Browse files
carenasgitster
authored andcommitted
t4216: avoid unnecessary subshell in test_bloom_filters_not_used
Seems to trigger a bug in at least OpenBSD's 6.7 sh where it is interpreted as a history lookup and therefore fails 125-126, 128, 130. Remove the subshell and get a space between ! and grep, so tests pass successfully. Signed-off-by: Carlo Marcelo Arenas Belón <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent caf388c commit 784ce03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4216-log-bloom.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ test_bloom_filters_used () {
7070
test_bloom_filters_not_used () {
7171
log_args=$1
7272
setup "$log_args" &&
73-
!(grep -q "statistics:{\"filter_not_present\":" "$TRASH_DIRECTORY/trace.perf") &&
73+
! grep -q "statistics:{\"filter_not_present\":" "$TRASH_DIRECTORY/trace.perf" &&
7474
test_cmp log_wo_bloom log_w_bloom
7575
}
7676

0 commit comments

Comments
 (0)