diff options
author | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2015-03-12 10:16:26 +0900 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2015-03-12 17:35:20 -0700 |
commit | 82f067e60bb3eb87cc1119655ae0a5968e988326 (patch) | |
tree | 2b3ecfedd0185162b6e3ac77ee93a55054c2cf8a /test/parallel/test-tls-set-ciphers.js | |
parent | 5ecdc0314d87354166b282501435b2f6fd2248ab (diff) | |
download | android-node-v8-82f067e60bb3eb87cc1119655ae0a5968e988326.tar.gz android-node-v8-82f067e60bb3eb87cc1119655ae0a5968e988326.tar.bz2 android-node-v8-82f067e60bb3eb87cc1119655ae0a5968e988326.zip |
test: fix ext commands to be double quoted
Paths used on the Windows command line need to be enclosed in double
quotes, or they'll be parsed incorrectly when there are spaces in the
path.
PR-URL: https://github.com/iojs/io.js/pull/1122
Reviewed-by: Bert Belder <bertbelder@gmail.com>
Diffstat (limited to 'test/parallel/test-tls-set-ciphers.js')
-rw-r--r-- | test/parallel/test-tls-set-ciphers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-set-ciphers.js b/test/parallel/test-tls-set-ciphers.js index 62ca077f29..ba4341633b 100644 --- a/test/parallel/test-tls-set-ciphers.js +++ b/test/parallel/test-tls-set-ciphers.js @@ -36,7 +36,7 @@ var server = tls.createServer(options, function(conn) { }); server.listen(common.PORT, '127.0.0.1', function() { - var cmd = common.opensslCli + ' s_client -cipher ' + options.ciphers + + var cmd = '"' + common.opensslCli + '" s_client -cipher ' + options.ciphers + ' -connect 127.0.0.1:' + common.PORT; exec(cmd, function(err, stdout, stderr) { |