From: Dmitry V. Levin Date: Sat, 19 Sep 2015 00:01:35 +0000 (+0000) Subject: tests/init.sh: fix comment X-Git-Tag: v4.11~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a69854a90be069af0cec1f499e91c96cb3633593;p=strace tests/init.sh: fix comment * tests/init.sh (match_awk): Fix usage description. --- diff --git a/tests/init.sh b/tests/init.sh index c9768064..0ff513fc 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -72,10 +72,8 @@ check_gawk() } # Usage: [FILE_TO_CHECK [AWK_PROGRAM [ERROR_MESSAGE [EXTRA_AWK_OPTIONS...]]]] -# Check whether all patterns listed in AWK_PROGRAM -# match FILE_TO_CHECK using egrep. -# If at least one of these patterns does not match, -# dump both files and fail with ERROR_MESSAGE. +# Check whether AWK_PROGRAM matches FILE_TO_CHECK using gawk. +# If it doesn't, dump FILE_TO_CHECK and fail with ERROR_MESSAGE. match_awk() { local output program error