pcre2/backport-Fix-oversight-in-adding-new-pcre2grep-test.patch

49 lines
1.3 KiB
Diff

From ace78dc460e7e80592d86216cfdd36a62b083bb3 Mon Sep 17 00:00:00 2001
From: Philip Hazel <Philip.Hazel@gmail.com>
Date: Wed, 27 Nov 2024 15:50:34 +0000
Subject: [PATCH] Fix oversight in adding new pcre2grep test
Conflict:NA
Reference:https://github.com/PCRE2Project/pcre2/commit/ace78dc460e7e80592d86216cfdd36a62b083bb3
---
testdata/grepinput | 2 +-
testdata/grepoutput | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/testdata/grepinput b/testdata/grepinput
index 91d3db88..1a0a9c0f 100644
--- a/testdata/grepinput
+++ b/testdata/grepinput
@@ -630,7 +630,7 @@ asd
dfg
ghj
jkl
-abc
+abx
def
ghi
xyz
diff --git a/testdata/grepoutput b/testdata/grepoutput
index 58ea858d..abfabe15 100644
--- a/testdata/grepoutput
+++ b/testdata/grepoutput
@@ -104,7 +104,6 @@ pcre2grep: Error in command-line regex at offset 4: quantifier does not follow a
RC=2
---------------------------- Test 16 -----------------------------
pcre2grep: Failed to open ./testdata/nonexistfile: No such file or directory
-./testdata/grepinput:abc
RC=2
---------------------------- Test 17 -----------------------------
features should be added at the end, because some of the tests involve the
@@ -1306,7 +1305,7 @@ RC=0
630-dfg
631-ghj
632:jkl
-633-abc
+633-abx
634-def
635-ghi
RC=0
--
2.23.0