You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
21
vendor/swoole/tests/swoole_function/swoole_cpu_num.phpt
vendored
Executable file
21
vendor/swoole/tests/swoole_function/swoole_cpu_num.phpt
vendored
Executable file
@ -0,0 +1,21 @@
|
||||
--TEST--
|
||||
global_function: swoole_cpu_num
|
||||
--SKIPIF--
|
||||
<?php require __DIR__ . '/../include/skipif.inc'; ?>
|
||||
--INI--
|
||||
assert.active=1
|
||||
assert.warning=1
|
||||
assert.bail=0
|
||||
assert.quiet_eval=0
|
||||
|
||||
--FILE--
|
||||
<?php
|
||||
require_once __DIR__ . '/../include/bootstrap.php';
|
||||
|
||||
$cpu_num = swoole_cpu_num();
|
||||
echo "cpu_num: $cpu_num";
|
||||
|
||||
?>
|
||||
|
||||
--EXPECTF--
|
||||
cpu_num: %d
|
Reference in New Issue
Block a user