Skip to content

failed test: parallel/test-tls-no-sslv3.js with shared openssl #618

Closed
@jbergstroem

Description

@jbergstroem
Path: parallel/test-tls-no-sslv3
child_process.js:1100
  var err = this._handle.spawn(options);
                         ^
TypeError: Bad argument
    at TypeError (native)
    at ChildProcess.spawn (child_process.js:1100:26)
    at exports.spawn (child_process.js:959:9)
    at Server.<anonymous> (parallel/test-tls-no-sslv3.js:25:16)
    at Server.g (events.js:184:16)
    at Server.emit (events.js:95:17)
    at net.js:1167:12
    at process._tickCallback (node.js:337:11)
    at Function.Module.runMain (module.js:489:11)
    at startup (node.js:111:16)

The problem is that common.opensslCli will return false instead of a path to the openssl-binary, since it hasn't been built. The simple way is just to check for false before running the test, but it feels like a poor decision since we'd probably want to run the test suite with a shared openssl as much as possible (so the user can verify that their setup is correct).

Metadata

Metadata

Assignees

No one assigned

    Labels

    tlsIssues and PRs related to the tls subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions