SHA256
1
0
Adam Majer 2023-05-05 11:14:52 +00:00 committed by Git OBS Bridge
parent 9bdafd0eed
commit a51f2e1115

23
test_strace.patch Normal file
View File

@ -0,0 +1,23 @@
Index: node-v20.1.0/test/parallel/test-strace-openat-openssl.js
===================================================================
--- node-v20.1.0.orig/test/parallel/test-strace-openat-openssl.js
+++ node-v20.1.0/test/parallel/test-strace-openat-openssl.js
@@ -18,6 +18,7 @@ if (spawnSync('strace').error !== undefi
{
const allowedOpenCalls = new Set([
'/etc/ssl/openssl.cnf',
+ '/etc/crypto-policies/back-ends/opensslcnf.config',
]);
const strace = spawn('strace', [
'-f', '-ff',
@@ -42,6 +43,10 @@ if (spawnSync('strace').error !== undefi
if (file.match(/\/proc\/.+/) !== null) {
return;
}
+ // skip icu data files
+ if (file.match(/^\/usr\/share\/icu\/[0-9\.]+\/icudt.+\.dat$/) !== null) {
+ return;
+ }
assert(allowedOpenCalls.delete(file), `${file} is not in the list of allowed openat calls`);
});