From f1bab96069e3770b967c9ef6a241f725c59eb6230caf6ffc66c1951bf7e26e72 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 20 Nov 2023 10:20:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs21?expand=0&rev=7 --- fix_ci_tests.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/fix_ci_tests.patch b/fix_ci_tests.patch index 24671f1..fea56d9 100644 --- a/fix_ci_tests.patch +++ b/fix_ci_tests.patch @@ -81,3 +81,16 @@ Index: node-v21.2.0/tools/test.py result.add_option("--arch", help='The architecture to run tests for', default='none') result.add_option("--snapshot", help="Run the tests with snapshot turned on", +Index: node-v21.2.0/test/parallel/test-crypto-dh.js +=================================================================== +--- node-v21.2.0.orig/test/parallel/test-crypto-dh.js ++++ node-v21.2.0/test/parallel/test-crypto-dh.js +@@ -92,7 +92,7 @@ const crypto = require('crypto'); + dh3.computeSecret(''); + }, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ? + 'error:02800080:Diffie-Hellman routines::invalid secret' : +- 'Supplied key is too small' }); ++ /(Supplied key is too small|invalid public key)/ }); + } + } +