We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 499674d commit 076016bCopy full SHA for 076016b
scripts/all-core.sh
@@ -789,10 +789,7 @@ pre_setup_keep_going () {
789
not_grep () {
790
#set -x
791
declare ret=0
792
- # Add /dev/null as a file name. This forces the file name to be displayed
793
- # if there is a single file name, and prevents blocking waiting on stdin
794
- # if this function is accidentally called with zero file names.
795
- grep "$@" /dev/null || ret=$?
+ grep -H "$@" || ret=$?
796
if [[ $ret -eq 0 ]]; then
797
# A match was found, and displayed on stdout.
798
# This is a test failure.
0 commit comments