Line 0
Link Here
|
|
|
1 |
If libpcre is build without jit, then grep fails the test pcre-jitstack with |
2 |
|
3 |
grep: internal PCRE error: -21 |
4 |
|
5 |
libpcre error 21 is |
6 |
|
7 |
#define PCRE_ERROR_RECURSIONLIMIT (-21) |
8 |
|
9 |
This is not grep's fault, so we skip this test. |
10 |
The corresponding Gentoo bug is #569816 [0]. |
11 |
|
12 |
[0] https://bugs.gentoo.org/show_bug.cgi?id=569816 |
13 |
|
14 |
diff -ur grep-2.25/tests/pcre-jitstack grep-2.25_b/tests/pcre-jitstack |
15 |
--- a/tests/pcre-jitstack |
16 |
+++ b/tests/pcre-jitstack |
17 |
@@ -10,6 +10,8 @@ |
18 |
. "${srcdir=.}/init.sh"; path_prepend_ ../src |
19 |
require_pcre_ |
20 |
|
21 |
+skip_ "test pcre-jitstack is known to fail if libpcre is build without jit (Gentoo bug #569816)" |
22 |
+ |
23 |
nl_base64=$(echo | (base64) 2>/dev/null) && test "X$nl_base64" = XCg== || |
24 |
skip_ "your system lacks the base64 program" |
25 |
foo=$( (echo foo | gzip | gzip -d) 2>/dev/null) && test "X$foo" = Xfoo || |