Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
test: ensure valid uptime value
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex authored and piscisaureus committed Apr 1, 2012
1 parent 442aa1f commit 9d3c000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test-platform-output.c
Expand Up @@ -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);
Expand Down

0 comments on commit 9d3c000

Please sign in to comment.