]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/tests/ntpq/t-ntpq.c
Upgrade NTP to 4.2.8p4.
[FreeBSD/releng/10.2.git] / contrib / ntp / tests / ntpq / t-ntpq.c
1 #include "config.h"
2
3 #include "ntp.h"
4 //#include "ntp_stdlib.h"
5
6
7 //#include "ntp_calendar.h"
8
9 #include "unity.h"
10 #include "ntpq.h"
11
12 //very tricky to test static functions. It might be a good idea to use cmock here
13 //#define HAVE_NTPQ
14 //#include "ntpq.c"
15
16
17
18 //extern int main(int argc, char *argv[]);
19
20 void testPrimary(void);
21
22 void testPrimary(void){
23         //main(NULL,NULL);
24 /*
25         char ** tokens;
26         int * num = 0;
27         tokenize("a bc de1 234",tokens, num);
28 */
29 }
30
31
32
33
34
35
36
37 #define HAVE_NTP_SIGND