summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/main.c1
-rw-r--r--test/test1.c7
-rw-r--r--test/test1.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c
index f6be903..25e1993 100644
--- a/test/main.c
+++ b/test/main.c
@@ -7,6 +7,7 @@ main(int argc, char **argv)
{
test1();
test2();
+ test3();
return 0;
}
diff --git a/test/test1.c b/test/test1.c
index 777aa5f..3f52c93 100644
--- a/test/test1.c
+++ b/test/test1.c
@@ -30,3 +30,10 @@ test2(void)
printf("OK\n");
}
+
+void
+test3()
+{
+ printf("executing %s... OK\n", __func__);
+ printf("%s\n", strlibver());
+}
diff --git a/test/test1.h b/test/test1.h
index 1b88561..79bab4c 100644
--- a/test/test1.h
+++ b/test/test1.h
@@ -5,5 +5,6 @@
void test1(void);
void test2(void);
+void test3(void);
#endif /* __TEST1_H__ */