aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_aklog.c6
-rw-r--r--src/tests/test_aklogwrite.c13
2 files changed, 19 insertions, 0 deletions
diff --git a/src/tests/test_aklog.c b/src/tests/test_aklog.c
index a2408a9..dad065f 100644
--- a/src/tests/test_aklog.c
+++ b/src/tests/test_aklog.c
@@ -50,6 +50,11 @@ void test_info()
ak_log_info(__func__, "test message info");
}
+void test_write()
+{
+ ak_log_info(__func__, "test message info");
+}
+
int main (void)
{
test_follow();
@@ -62,5 +67,6 @@ int main (void)
test_log_message();
test_rotate();
test_grep();
+ test_write();
return 0;
}
diff --git a/src/tests/test_aklogwrite.c b/src/tests/test_aklogwrite.c
new file mode 100644
index 0000000..a6267b0
--- /dev/null
+++ b/src/tests/test_aklogwrite.c
@@ -0,0 +1,13 @@
+#include <aklog.h>
+
+void test_write()
+{
+ ak_log_info(__func__, "test message info");
+}
+
+int main (void)
+{
+ test_write();
+ return 0;
+}
+