From: Damir Tomic Date: Mon, 17 Aug 2015 10:21:45 +0000 (+0200) Subject: run-t-ntp_signd.c: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed2b29989a9dfae360e9c3e6a41b24683fd20a8e;p=thirdparty%2Fntp.git run-t-ntp_signd.c: added more tests manually bk: 55d1b5b9V7ckvACOWMCLd21TGPOJjA --- diff --git a/tests/ntpd/run-t-ntp_signd.c b/tests/ntpd/run-t-ntp_signd.c index 0ab7862df..a3b5bfc80 100644 --- a/tests/ntpd/run-t-ntp_signd.c +++ b/tests/ntpd/run-t-ntp_signd.c @@ -34,7 +34,7 @@ extern void tearDown(void); extern void test_connect_incorrect_socket(void); extern void test_connect_correct_socket(void); extern void test_write_all(void); - +extern void test_send_packet(void); //=======Test Reset Option===== void resetTest(void); @@ -55,6 +55,7 @@ int main(int argc, char *argv[]) RUN_TEST(test_connect_incorrect_socket, 12); RUN_TEST(test_connect_correct_socket, 12); RUN_TEST(test_write_all, 23); + RUN_TEST(test_send_packet,25); return (UnityEnd()); } diff --git a/tests/ntpd/t-ntp_signd.c b/tests/ntpd/t-ntp_signd.c index 09a75c86d..59fc77484 100644 --- a/tests/ntpd/t-ntp_signd.c +++ b/tests/ntpd/t-ntp_signd.c @@ -78,7 +78,6 @@ test_connect_correct_socket(void){ } - void test_write_all(void){ int fd = ux_socket_connect("/socket");