diff options
| author | Remi Collet <remi@remirepo.net> | 2026-01-13 08:17:01 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-01-13 08:17:01 +0100 |
| commit | 9eed8aa7b3748c5f806e3d350ce0e5af6cf7fb32 (patch) | |
| tree | 187c1319529df0bc4707508d522b066a528d6341 /tests.patch | |
| parent | a1f4dae20b3985eba2950e76ce7746efdcde41de (diff) | |
update to 0.9.5
update bundled quickjs to 2025.12.22
open https://github.com/nginx/njs/issues/1011
fail test with libpcre2 version 10.47
Diffstat (limited to 'tests.patch')
| -rw-r--r-- | tests.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests.patch b/tests.patch new file mode 100644 index 0000000..6f679d5 --- /dev/null +++ b/tests.patch @@ -0,0 +1,15 @@ +diff -up src/test/njs_unit_test.c.old src/test/njs_unit_test.c +--- src/test/njs_unit_test.c.old 2026-01-13 07:39:11.539231644 +0100 ++++ src/test/njs_unit_test.c 2026-01-13 07:39:28.102421977 +0100 +@@ -11804,11 +11804,6 @@ static njs_unit_test_t njs_test[] = + njs_pcre_var("pcre_compile2(\"(\") failed: missing closing parenthesis at \"\" in 1", + "pcre_compile(\"(\") failed: missing ) in 1")) }, + +- { njs_str("/+/.test('')"), +- njs_str("SyntaxError: " +- njs_pcre_var("pcre_compile2(\"+\") failed: quantifier does not follow a repeatable item at \"+\" in 1", +- "pcre_compile(\"+\") failed: nothing to repeat at \"+\" in 1")) }, +- + { njs_str("/^$/.test('')"), + njs_str("true") }, + |
