X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-timeval.c;h=9896cf7372ff880b8af487c3819e47ee69c36c7b;hb=a39c3ff9f586d3416976d3c3bd095fa81d73efa0;hp=a58c04169bad54dc53f85d7810ce5d62524aeec5;hpb=a457574880b01a30c16e9b92c9ead760631de3c1;p=sliver-openvswitch.git diff --git a/tests/test-timeval.c b/tests/test-timeval.c index a58c04169..9896cf737 100644 --- a/tests/test-timeval.c +++ b/tests/test-timeval.c @@ -99,7 +99,7 @@ main(int argc, char *argv[]) } else if (!strcmp(argv[1], "plain")) { /* If we're not caching time there isn't much to test and SIGALRM won't * be around to pull us out of the select() call, so just skip out */ - if (!time_cached()) { + if (!CACHE_TIME) { exit (77); } @@ -110,7 +110,7 @@ main(int argc, char *argv[]) char cwd[1024], *pidfile; FILE *success; - if (!time_cached()) { + if (!CACHE_TIME) { exit (77); }