diff --git a/test_strace.patch b/test_strace.patch new file mode 100644 index 0000000..e62ff6a --- /dev/null +++ b/test_strace.patch @@ -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`); + });