���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /proc/self/root/home/real/node-v13.0.1/test/parallel/ |
'use strict'; // This test checks the usage of --use-bundled-ca and --use-openssl-ca arguments // to verify that both are not used at the same time. const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert'); const os = require('os'); const childProcess = require('child_process'); const result = childProcess.spawnSync( process.execPath, [ '--use-bundled-ca', '--use-openssl-ca', '-p', 'process.version' ], { encoding: 'utf8' } ); assert.strictEqual(result.stderr, `${process.execPath }: either --use-openssl-ca or --use-bundled-ca can be used, not both${os.EOL}` ); assert.strictEqual(result.status, 9); const useBundledCA = childProcess.spawnSync(process.execPath, [ '--use-bundled-ca', '-p', 'process.version']); assert.strictEqual(useBundledCA.status, 0); const useOpenSSLCA = childProcess.spawnSync(process.execPath, [ '--use-openssl-ca', '-p', 'process.version']); assert.strictEqual(useOpenSSLCA.status, 0);