t-ntpq.c revision 290001
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 20void testPrimary(void); 21 22void 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 38