Skip to content

Commit d7d3b56

Browse files
committed
Merge branch 'rj/maint-grep-remove-redundant-test' into maint
* rj/maint-grep-remove-redundant-test: t7810-*.sh: Remove redundant test
2 parents 45b65a6 + 4ca9453 commit d7d3b56

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

t/t7810-grep.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -399,17 +399,6 @@ test_expect_success 'grep -q, silently report matches' '
399399
test_cmp empty actual
400400
'
401401

402-
# Create 1024 file names that sort between "y" and "z" to make sure
403-
# the two files are handled by different calls to an external grep.
404-
# This depends on MAXARGS in builtin-grep.c being 1024 or less.
405-
c32="0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v"
406-
test_expect_success 'grep -C1, hunk mark between files' '
407-
for a in $c32; do for b in $c32; do : >y-$a$b; done; done &&
408-
git add y-?? &&
409-
git grep -C1 "^[yz]" >actual &&
410-
test_cmp expected actual
411-
'
412-
413402
test_expect_success 'grep -C1 hunk mark between files' '
414403
git grep -C1 "^[yz]" >actual &&
415404
test_cmp expected actual

0 commit comments

Comments
 (0)