Fix bug for test 22.

This commit is contained in:
Philip.Hazel 2016-04-22 14:10:51 +00:00
parent c8938f7a23
commit 517cd43ff6
2 changed files with 6 additions and 0 deletions

View File

@ -100,6 +100,8 @@ length in the error message.
22. Added support for string callouts to pcre2grep (Zoltan's patch with PH 22. Added support for string callouts to pcre2grep (Zoltan's patch with PH
additions). additions).
23. RunTest.bat was missing a "set type" line for test 22.
Version 10.21 12-January-2016 Version 10.21 12-January-2016
----------------------------- -----------------------------

View File

@ -25,6 +25,7 @@
@rem The file was converted for PCRE2 by PH, February 2015. @rem The file was converted for PCRE2 by PH, February 2015.
@rem Updated for new test 14 (moving others up a number), August 2015. @rem Updated for new test 14 (moving others up a number), August 2015.
@rem Tidied and updated for new tests 21, 22, 23 by PH, October 2015. @rem Tidied and updated for new tests 21, 22, 23 by PH, October 2015.
@rem PH added missing "set type" for test 22, April 2016.
setlocal enabledelayedexpansion setlocal enabledelayedexpansion
@ -275,6 +276,9 @@ if [%1]==[12] (
if [%1]==[14] ( if [%1]==[14] (
set type=-%bits% set type=-%bits%
) )
if [%1]==[22] (
set type=-%bits%
)
fc /n %srcdir%\testdata\%testoutput%%type% %2%bits%\%testoutput% >NUL fc /n %srcdir%\testdata\%testoutput%%type% %2%bits%\%testoutput% >NUL