test: ensure valid uptime value
This commit is contained in:
parent
442aa1f469
commit
9d3c00046f
@ -44,6 +44,7 @@ TEST_IMPL(platform_output) {
|
||||
|
||||
err = uv_uptime(&uptime);
|
||||
ASSERT(UV_OK == err.code);
|
||||
ASSERT(uptime > 0);
|
||||
fprintf(stderr, "uv_uptime: %f\n", uptime);
|
||||
|
||||
err = uv_cpu_info(&cpus, &count);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user