projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.8'
[collectd.git]
/
src
/
utils_mount_test.c
diff --git
a/src/utils_mount_test.c
b/src/utils_mount_test.c
index
695038d
..
e8f3009
100644
(file)
--- a/
src/utils_mount_test.c
+++ b/
src/utils_mount_test.c
@@
-30,6
+30,10
@@
#include "testing.h"
#include "utils_mount.h"
#include "testing.h"
#include "utils_mount.h"
+#if HAVE_KSTAT_H
+#include <kstat.h>
+#endif
+
#if HAVE_LIBKSTAT
kstat_ctl_t *kc;
#endif /* HAVE_LIBKSTAT */
#if HAVE_LIBKSTAT
kstat_ctl_t *kc;
#endif /* HAVE_LIBKSTAT */
@@
-75,7
+79,7
@@
DEF_TEST(cu_mount_checkoption) {
OK(NULL == cu_mount_checkoption(line_bool, "tw", 1));
OK(NULL == cu_mount_checkoption(line_bool, "thr", 1));
OK(NULL == cu_mount_checkoption(line_bool, "tw", 1));
OK(NULL == cu_mount_checkoption(line_bool, "thr", 1));
- return
(0)
;
+ return
0
;
}
DEF_TEST(cu_mount_getoptionvalue) {
char line_opts[] = "foo=one,bar=two,qux=three";
}
DEF_TEST(cu_mount_getoptionvalue) {
char line_opts[] = "foo=one,bar=two,qux=three";
@@
-100,7
+104,7
@@
DEF_TEST(cu_mount_getoptionvalue) {
OK(NULL == (v = cu_mount_getoptionvalue(line_bool, "four")));
sfree(v);
OK(NULL == (v = cu_mount_getoptionvalue(line_bool, "four")));
sfree(v);
- return
(0)
;
+ return
0
;
}
int main(void) {
}
int main(void) {
@@
-109,5
+113,3
@@
int main(void) {
END_TEST;
}
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */