aboutsummaryrefslogtreecommitdiff
path: root/tests/ntpq/t-ntpq.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ntpq/t-ntpq.c')
-rw-r--r--tests/ntpq/t-ntpq.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/ntpq/t-ntpq.c b/tests/ntpq/t-ntpq.c
new file mode 100644
index 000000000000..f4b35c5eb5a6
--- /dev/null
+++ b/tests/ntpq/t-ntpq.c
@@ -0,0 +1,37 @@
+#include "config.h"
+
+#include "ntp.h"
+//#include "ntp_stdlib.h"
+
+
+//#include "ntp_calendar.h"
+
+#include "unity.h"
+#include "ntpq.h"
+
+//very tricky to test static functions. It might be a good idea to use cmock here
+//#define HAVE_NTPQ
+//#include "ntpq.c"
+
+
+
+//extern int main(int argc, char *argv[]);
+
+void testPrimary(void);
+
+void testPrimary(void){
+ //main(NULL,NULL);
+/*
+ char ** tokens;
+ int * num = 0;
+ tokenize("a bc de1 234",tokens, num);
+*/
+}
+
+
+
+
+
+
+
+#define HAVE_NTP_SIGND