Closed
Description
Test
test-process-versions
Platform
FreeBSD
Console output
assert.js:394
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(/^\d+\.\d+\.\d+[a-z]?(-fips)?$/.test(process.versions.openssl))
at Object.<anonymous> (/usr/home/dereks/repos/node/test/parallel/test-process-versions.js:48:3)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Build links
No response
Additional information
node output of process.versions.openssl
> process.versions.openssl
'1.1.1k-freebsd'
It seems the regex could change to:
/^\d+\.\d+\.\d+[a-z]?(-freebsd|-fips)?$
Adding the -freebsd