test: ensure valid uptime value

This commit is contained in:
Brian White 2012-02-24 12:06:44 -05:00 committed by Bert Belder
parent 442aa1f469
commit 9d3c00046f

View File

@ -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);