projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update doc/common
[yaz-moved-to-github.git]
/
test
/
test_timing.c
diff --git
a/test/test_timing.c
b/test/test_timing.c
index
28e2286
..
ba5eff9
100644
(file)
--- a/
test/test_timing.c
+++ b/
test/test_timing.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
@@
-44,11
+44,11
@@
static void tst(void)
user = yaz_timing_get_user(t);
YAZ_CHECK(user == -1.0 || user >= 0.0);
user = yaz_timing_get_user(t);
YAZ_CHECK(user == -1.0 || user >= 0.0);
- sys = yaz_timing_get_sys(t);
+ sys = yaz_timing_get_sys(t);
YAZ_CHECK(sys == -1.0 || sys >= 0.0);
yaz_log(YLOG_LOG, "real=%f user=%f sys=%f", real, user, sys);
YAZ_CHECK(sys == -1.0 || sys >= 0.0);
yaz_log(YLOG_LOG, "real=%f user=%f sys=%f", real, user, sys);
-
+
yaz_timing_destroy(&t);
YAZ_CHECK(!t);
}
yaz_timing_destroy(&t);
YAZ_CHECK(!t);
}