���� 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 : /home/real/node-v13.0.1/test/parallel/ |
'use strict'; require('../common'); const assert = require('assert'); const { spawnSync } = require('child_process'); const results = new Set(); for (let i = 0; i < 10; i++) { const result = spawnSync(process.execPath, ['-p', 'Math.random()']); assert.strictEqual(result.status, 0); results.add(result.stdout.toString()); } // It's theoretically possible if _very_ unlikely to see some duplicates. // Therefore, don't expect that the size of the set is exactly 10 but do // assume it's > 1 because if you get 10 duplicates in a row you should // go out real quick and buy some lottery tickets, you lucky devil you! assert(results.size > 1);