"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/libntp/run-decodenetnum.c" between
ntp-4.2.8p14.tar.gz and ntp-4.2.8p15.tar.gz

About: NTP is the the Official Reference Implementation of the Network Time Protocol (NTP) that synchronize the clocks of computers over a network.

run-decodenetnum.c  (ntp-4.2.8p14):run-decodenetnum.c  (ntp-4.2.8p15)
skipping to change at line 36 skipping to change at line 36
#include "ntp_stdlib.h" #include "ntp_stdlib.h"
#include "sockaddrtest.h" #include "sockaddrtest.h"
//=======External Functions This Runner Calls===== //=======External Functions This Runner Calls=====
extern void setUp(void); extern void setUp(void);
extern void tearDown(void); extern void tearDown(void);
extern void test_IPv4AddressOnly(void); extern void test_IPv4AddressOnly(void);
extern void test_IPv4AddressWithPort(void); extern void test_IPv4AddressWithPort(void);
extern void test_IPv6AddressOnly(void); extern void test_IPv6AddressOnly(void);
extern void test_IPv6AddressWithPort(void); extern void test_IPv6AddressWithPort(void);
extern void test_IPv6AddressWithScope(void);
extern void test_IPv6AddressWithPortAndScope(void);
extern void test_IllegalAddress(void); extern void test_IllegalAddress(void);
extern void test_IllegalCharInPort(void); extern void test_IllegalCharInPort(void);
extern void test_NameBufOverflow(void);
//=======Suite Setup===== //=======Suite Setup=====
static void suite_setup(void) static void suite_setup(void)
{ {
extern int change_iobufs(int); extern int change_iobufs(int);
extern int change_logfile(const char*, int); extern int change_logfile(const char*, int);
change_iobufs(1); change_iobufs(1);
change_logfile("stderr", 0); change_logfile("stderr", 0);
} }
skipping to change at line 68 skipping to change at line 71
//=======MAIN===== //=======MAIN=====
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
progname = argv[0]; progname = argv[0];
suite_setup(); suite_setup();
UnityBegin("decodenetnum.c"); UnityBegin("decodenetnum.c");
RUN_TEST(test_IPv4AddressOnly, 8); RUN_TEST(test_IPv4AddressOnly, 8);
RUN_TEST(test_IPv4AddressWithPort, 9); RUN_TEST(test_IPv4AddressWithPort, 9);
RUN_TEST(test_IPv6AddressOnly, 10); RUN_TEST(test_IPv6AddressOnly, 10);
RUN_TEST(test_IPv6AddressWithPort, 11); RUN_TEST(test_IPv6AddressWithPort, 11);
RUN_TEST(test_IllegalAddress, 12); RUN_TEST(test_IPv6AddressWithScope, 12);
RUN_TEST(test_IllegalCharInPort, 13); RUN_TEST(test_IPv6AddressWithPortAndScope, 13);
RUN_TEST(test_IllegalAddress, 14);
RUN_TEST(test_IllegalCharInPort, 15);
RUN_TEST(test_NameBufOverflow, 16);
return (UnityEnd()); return (UnityEnd());
} }
 End of changes. 3 change blocks. 
2 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)