File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -426,14 +426,14 @@ test_expect_success 'option-like arguments passed to foreach commands are not lo
426426 git submodule foreach "echo be --quiet" > ../expected &&
427427 git submodule foreach echo be --quiet > ../actual
428428 ) &&
429- grep -sq -e "--quiet" expected &&
429+ test_grep -e "--quiet" expected &&
430430 test_cmp expected actual
431431'
432432
433433test_expect_success ' option-like arguments passed to foreach recurse correctly' '
434434 git -C clone2 submodule foreach --recursive "echo be --an-option" >expect &&
435435 git -C clone2 submodule foreach --recursive echo be --an-option >actual &&
436- grep -e "--an-option" expect &&
436+ test_grep -e "--an-option" expect &&
437437 test_cmp expect actual
438438'
439439
You can’t perform that action at this time.
0 commit comments