aboutsummaryrefslogtreecommitdiff
path: root/dist2/RunGrepTest.bat
diff options
context:
space:
mode:
Diffstat (limited to 'dist2/RunGrepTest.bat')
-rw-r--r--dist2/RunGrepTest.bat9
1 files changed, 2 insertions, 7 deletions
diff --git a/dist2/RunGrepTest.bat b/dist2/RunGrepTest.bat
index 4a095a36..50a96448 100644
--- a/dist2/RunGrepTest.bat
+++ b/dist2/RunGrepTest.bat
@@ -653,19 +653,14 @@ if ERRORLEVEL 1 exit /b 1
:: If pcre2grep supports script callouts, run some tests on them.
-%pcre2grep% --help | %pcre2grep% -q "callout scripts in patterns are supported"
+%pcre2grep% --help | %pcre2grep% -q "Callout scripts in patterns are supported"
if %ERRORLEVEL% equ 0 (
echo Testing pcre2grep script callouts
%pcre2grep% "(T)(..(.))(?C'cmd|/c echo|Arg1: [$1] [$2] [$3]|Arg2: ^$|${1}^$| ($4) ($14) ($0)')()" %srcdir%/testdata/grepinputv >testtrygrep
%pcre2grep% "(T)(..(.))()()()()()()()(..)(?C'cmd|/c echo|Arg1: [$11] [${11}]')" %srcdir%/testdata/grepinputv >>testtrygrep
%pcre2grep% "(T)(?C'|$0:$1$n')" %srcdir%/testdata/grepinputv >>testtrygrep
%pcre2grep% "(T)(?C'|$1$n')(*F)" %srcdir%/testdata/grepinputv >>testtrygrep
- %pcre2grep% --help | %pcre2grep% -q "Non-script callout scripts in patterns are supported"
- if %ERRORLEVEL% equ 0 (
- %cf% %srcdir%\testdata\grepoutputCN testtrygrep %cfout%
- ) else (
- %cf% %srcdir%\testdata\grepoutputC testtrygrep %cfout%
- )
+ %cf% %srcdir%\testdata\grepoutputC testtrygrep %cfout%
if ERRORLEVEL 1 exit /b 1
) else (
echo Script callouts are not supported