diff --git a/test/test1.c b/test/test1.c index 59463f6..8e7e0bc 100644 --- a/test/test1.c +++ b/test/test1.c @@ -36,11 +36,15 @@ main(int argc, char *argv[]) { int rem; + int i; - while(1) { + yogrt_init(); + + for (i=0; i<10; i++) { rem = yogrt_remaining(); sleep(1); } + yogrt_fini(); exit(0); }