]>
git.ipfire.org Git - thirdparty/ntp.git/log
Harlan Stenn [Wed, 17 Jun 2015 08:05:10 +0000 (04:05 -0400)]
clean up unity test names
bk: 55812a36aCJ1mT2YtfrmWVjZATa2zA
Damir Tomic [Wed, 17 Jun 2015 07:35:55 +0000 (09:35 +0200)]
run-test-networking.c, c_sntptest.h:
new file
networking.c:
added c_sntptest.h include
Makefile.am:
modified so Makefile.am runs unity tests and gtests
bk: 5581235bznlwxp9qgGjldrNeZYbRCQ
Damir Tomic [Wed, 17 Jun 2015 06:47:17 +0000 (08:47 +0200)]
networking.c:
new file
Makefile.am:
started adding unity test framework support
bk: 558117f5a01Fc3J5I5-pLTjWJnQ-6w
Damir Tomic [Wed, 17 Jun 2015 05:45:38 +0000 (07:45 +0200)]
ssl_init.c, run-test-ssl_init.c:
new file
Makefile.am:
added ssl-init.c building
g_ssl_init.cpp:
Rename: tests/libntp/ssl_init.cpp -> tests/libntp/g_ssl_init.cpp
bk: 55810982zonWS8bG1FDAMfPzsy033g
Damir Tomic [Tue, 16 Jun 2015 16:48:26 +0000 (18:48 +0200)]
socktoa.c:
added new function which replaces EXPECT_NE from gtest
bk: 5580535aj-T_dALHNRy4XieqdNTHng
Damir Tomic [Tue, 16 Jun 2015 16:29:22 +0000 (18:29 +0200)]
forgot to rename old .cpp file
bk: 55804ee2WXc0-E0PRMnS13uZ7SdSQQ
Damir Tomic [Tue, 16 Jun 2015 16:26:31 +0000 (18:26 +0200)]
timespecops.c : 95% done, lacks printf error messages. Contains 2 unity_helper functions which should be moved ot unity_helper.h
bk: 55804e37Kthw1L96nVjcBu5XWHMfVw
Damir Tomic [Tue, 16 Jun 2015 14:45:06 +0000 (16:45 +0200)]
timevalops.c:
95% done, a few printfs in case of an error have to be converted
bk: 55803672dMPNZm0jdrSHhkYu2YFw1A
Damir Tomic [Tue, 16 Jun 2015 13:33:51 +0000 (15:33 +0200)]
timevalops.c:
replaced TEST_ASSERT_EQUAL_INT64 with TEST_ASSERT_EQUAL() (TEST_ASSER_EQUAL_INT() also autodetects 32 bit or 64 bit long int, which time_t uses)
bk:
558025bf -RzLMTYeXasznTDq_o-GNA
Damir Tomic [Tue, 16 Jun 2015 10:46:58 +0000 (12:46 +0200)]
Makefile.am:
added building timevalops.c
run-test-timevalops.c, timevalops.c:
new file
lfpfunc.c:
removed sstream
g_timevalops.cpp:
Rename: tests/libntp/timevalops.cpp -> tests/libntp/g_timevalops.cpp
bk: 557ffea26lVb6U_LjwrU5aob6UQp0g
Damir Tomic [Mon, 15 Jun 2015 23:29:44 +0000 (01:29 +0200)]
Makefile.am:
added -lpthread to decodenetnum_LDADD. Temporary solution, until I get an answer from jnperlin
bk: 557f5fe8PHtwEDf09khkI-aStXHIVg
Damir Tomic [Mon, 15 Jun 2015 22:54:42 +0000 (00:54 +0200)]
c_sockaddrtest.h:
removed stuff like 1==1 with TRUE. Also added cin cout stuff, should be replaced b
Many files:
new file
Makefile.am:
fixes to Lokesh-Damir merge, added new .h to noinst_SOURCES
c_lfptest.h:
put the static vars back in here, removed them from hextolfp.c, because more files will need them.
hextolfp.c:
removed static consts, placed them in c_lpftest.h
octtoint.c:
removed outdates testcalshims.h, replaced with required includes
bk: 557f57b2AUMb_7zs3jaMY7oj3giHSg
Damir Tomic [Mon, 15 Jun 2015 21:40:37 +0000 (23:40 +0200)]
Merge psp-at1.ntp.org:/home/lokeshw24/ntp-stable-unity/
into ubuntu.(none):/home/viperus/Desktop/ntp-stable-unity
bk:
557f4655 -eYaxiHQc7GK_h8xMhL6UQ
Lokesh Walase [Mon, 15 Jun 2015 18:23:38 +0000 (23:53 +0530)]
Changes wrt to <socktoa> test
bk: 557f182aez0DXP3DTWepUBRmkjhpjQ
Lokesh Walase [Mon, 15 Jun 2015 06:29:18 +0000 (11:59 +0530)]
Changes for <decodenetnum> test
bk: 557e70beTu0SBnChNuWnF2q3JPVGnw
Lokesh Walase [Mon, 15 Jun 2015 05:51:38 +0000 (11:21 +0530)]
Changes wrt to <hextolfp> test
bk: 557e67eaeEVQBgJYjtGZbuf6Xt6Tjw
Lokesh Walase [Mon, 15 Jun 2015 05:35:04 +0000 (11:05 +0530)]
Changes for <netof> tests
bk: 557e6408CQ2CNpUdCoQnmo4ZTu-m7g
Tomek Mrugalski [Sun, 14 Jun 2015 23:34:31 +0000 (01:34 +0200)]
Makefile.am:
fixed double definition of something
bk: 557e0f87IgaXNBg7C4wMsiYb5i_VWQ
Tomek Mrugalski [Sun, 14 Jun 2015 23:12:49 +0000 (01:12 +0200)]
Makefile.am:
missing backslashes added
bk: 557e0a71p-ngsQfkEnmC_1O-4O3W8g
Tomek Mrugalski [Sun, 14 Jun 2015 22:51:33 +0000 (00:51 +0200)]
vi64ops.c:
used a simpler assertion
bk: 557e0575gl-SBzWJvp3y6Rh2rFeipw
Tomek Mrugalski [Sun, 14 Jun 2015 22:49:59 +0000 (00:49 +0200)]
used TEST_ASSERT_NULL instead of ASSERT_TRUE(ptr == NULL) in test/libntp/recvbuff.c
bk: 557e0517lioVNhHG0Cni_yzeLXQUeA
Tomek Mrugalski [Sun, 14 Jun 2015 22:45:57 +0000 (00:45 +0200)]
edited a makefile in test/libntp to build those tests
bk: 557e04257nfzMhLw0x3PrGpwHR-l_g
Tomek Mrugalski [Sun, 14 Jun 2015 22:42:12 +0000 (00:42 +0200)]
converted a bunch of test from GTest to Unity in test/libntp/
bk: 557e0344F1CQ4Ig24xMjfGms9T03eg
Damir Tomic [Sun, 14 Jun 2015 17:01:51 +0000 (19:01 +0200)]
Makefile.am:
added -lpthread to test_caljuliaj_LDADD, because it's not in $(PTHREAD_LIBS)
bk: 557db37fo1iAGmdYkUE2LdDSlHsvDA
Damir Tomic [Sun, 14 Jun 2015 16:42:02 +0000 (18:42 +0200)]
Makefile.am:
added test-libntp.h in noinst_HEADERS, otherwise you can't build make distcheck on my ubuntu
bk: 557daeda4_QtsM7A7lEJjIqt0J7Fyg
Damir Tomic [Sun, 14 Jun 2015 16:34:38 +0000 (18:34 +0200)]
testlibntp.c:
Rename: tests/libntp/test-libntp.c -> tests/libntp/testlibntp.c
testlibntp.h:
Rename: tests/libntp/test-libntp.h -> tests/libntp/testlibntp.h
test-libntp.h:
Rename: tests/libntp/testlibntp.h -> tests/libntp/test-libntp.h
test-libntp.c:
Rename: tests/libntp/testlibntp.c -> tests/libntp/test-libntp.c
bk: 557dad1e5xWJcVn8LoKlrd7inHBHwg
Damir Tomic [Sun, 14 Jun 2015 16:17:06 +0000 (16:17 +0000)]
Makefile.am:
removed the folder /unity-framework/
bk: 557da902KFEQ0NYOVUGNE0r1a-Eatw
Damir Tomic [Sun, 14 Jun 2015 16:14:29 +0000 (16:14 +0000)]
ProductionCode.h~
fac233823798db21 :
Delete: tests/unity-framework/ProductionCode.h
TestProductionCode.c~
4b9dea2fdb531435 :
Delete: tests/unity-framework/TestProductionCode.c
TestProductionCode_Runner.c~
41a4ba4b8da8c72e :
Delete: tests/unity-framework/TestProductionCode_Runner.c
ProductionCode.c~
2c2bc4c32341b018 :
Delete: tests/unity-framework/ProductionCode.c
bk: 557da8653pC98teYfP6iawf_4TTr0Q
Lokesh Walase [Sun, 14 Jun 2015 14:58:01 +0000 (20:28 +0530)]
Files related to <netof> test
bk: 557d9679p4Soi7TFwgu5dhoET1wtzQ
Lokesh Walase [Sun, 14 Jun 2015 14:56:51 +0000 (20:26 +0530)]
Files related to <netof> test
bk: 557d9633JMHzTLmMKVIwudP8NtW0Iw
Damir Tomic [Sun, 14 Jun 2015 12:22:39 +0000 (12:22 +0000)]
g_calendar.cpp:
Rename: tests/libntp/calendar.cpp -> tests/libntp/g_calendar.cpp
Makefile.am:
renamed calendar.cpp to g_calendar.cpp, reflecting changes in Makefile.am
bk: 557d720fm9fJPvJxOV9ylZ7GpydPyQ
Damir Tomic [Sun, 14 Jun 2015 09:56:02 +0000 (11:56 +0200)]
bug-2803.h~
388af97e65bf386e :
Delete: tests/bug-2803/bug-2803.h
TestProductionCode_Runner.c~
1dd6cbb7f125c42a :
Delete: tests/bug-2803/TestProductionCode_Runner.c
bug-2803.c~
75ddf194e9fda1b8 :
Delete: tests/bug-2803/bug-2803.c
Makefile.am:
removed outdated files
ut-2803.c:
merged with bug-2803.c|h, they are obsolete now
bk: 557d4fb2Vpuc3oBog9nCJbs53E4eYA
Damir Tomic [Sun, 14 Jun 2015 09:34:05 +0000 (11:34 +0200)]
calendar.c:
forgot to return 2 functions
bk: 557d4a8dNY03raQWDp8wGf-zCuDN5A
Damir Tomic [Sun, 14 Jun 2015 09:26:43 +0000 (11:26 +0200)]
caljulian.c:
removed an unnecessary printf
run-test-calendar.c, calendar.c:
new file
Makefile.am:
now builds calendar.c as well
bk: 557d48d3XhDQsoHEn_jmTcP6ToIpxw
Damir Tomic [Sun, 14 Jun 2015 08:24:54 +0000 (10:24 +0200)]
Makefile.am:
removed run-test-libntp.c, unncecessary
run-test-libntp.c~
b495db21713a6587 :
Delete: tests/libntp/run-test-libntp.c
bk: 557d3a56PEDNZzW9g6leoi9_k1VnUQ
Damir Tomic [Sun, 14 Jun 2015 08:05:45 +0000 (10:05 +0200)]
caljulian.c:
minor cleanup
Makefile.am:
mereged with Harlan's Makefile.am@1.55 version.
bk: 557d35d9Gf_mptjndBIJmUPtxopmsA
Damir Tomic [Sun, 14 Jun 2015 06:29:55 +0000 (08:29 +0200)]
caljulian.c:
fixed printf in case of an error
bk: 557d1f63HYq_if37fbOWPCEZU_l9Nw
Damir Tomic [Sun, 14 Jun 2015 05:47:07 +0000 (07:47 +0200)]
Merge psp-deb1.ntp.org:/home/stenn/ntp-stable-unity/
into ubuntu.(none):/home/viperus/Desktop/ntp-stable-unity
bk: 557d155b7sWiEeUzwPP_CIaplCRD7w
Harlan Stenn [Sun, 14 Jun 2015 05:15:48 +0000 (05:15 +0000)]
[Bug 2778] Implement "apeers" ntpq command to include associd
bk: 557d0e04ibm3oy0Mo3IirqENrH09UA
Harlan Stenn [Sun, 14 Jun 2015 03:18:13 +0000 (03:18 +0000)]
merge cleanup
bk: 557cf275mFpkU42-AvKG4L4GXIqjeg
Harlan Stenn [Sun, 14 Jun 2015 03:03:56 +0000 (03:03 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-2805
bk: 557cef1cY7qfKMx7zQ-amV_YcxZfxg
Harlan Stenn [Sun, 14 Jun 2015 00:10:48 +0000 (00:10 +0000)]
Unity updates
bk: 557cc688E28IEz6DGdisSi3JUK8cUQ
Damir Tomic [Sat, 13 Jun 2015 23:42:05 +0000 (01:42 +0200)]
forgot to rename the .cpp file
bk: 557cbfcdjwBoSLymWXLZNrwfT_YO5Q
Damir Tomic [Sat, 13 Jun 2015 23:40:35 +0000 (01:40 +0200)]
Many files:
new file
calyearstart.c:
removed the functions from here, put them in test-libntp.c
Makefile.am:
adding support for new tests
g_calyearstart.cpp:
Rename: tests/libntp/calyearstart.cpp -> tests/libntp/g_calyearstart.cpp
g_clocktime.cpp:
Rename: tests/libntp/clocktime.cpp -> tests/libntp/g_clocktime.cpp
test-libntp.h:
added headers for new functions
test-libntp.c:
moved the functions which 3 tests use into this file
run-test-calyearstart.c:
minor update
bk: 557cbf73UcilkAjKKA_xbjnxWJzxAQ
Damir Tomic [Sat, 13 Jun 2015 22:20:14 +0000 (00:20 +0200)]
Makefile.am:
added refnumtoa.c
run-test-vi64ops.c, refnumtoa.c, run-test-refnumtoa.c:
new file
g_refnumtoa.cpp:
Rename: tests/libntp/refnumtoa.cpp -> tests/libntp/g_refnumtoa.cpp
bk: 557cac9ekqtxJLDN6fVt22aq15MxkA
Damir Tomic [Sat, 13 Jun 2015 21:35:39 +0000 (23:35 +0200)]
vi64ops.c:
new file
Makefile.am:
added stuff related to vi64ops.c
g_vi64ops.cpp:
Rename: tests/libntp/vi64ops.cpp -> tests/libntp/g_vi64ops.cpp
bk: 557ca22bVKPBQ_kybc5MMrRokgpl1w
Harlan Stenn [Sat, 13 Jun 2015 18:35:19 +0000 (18:35 +0000)]
Makefile.am unity-related cleanup
bk: 557c77e7JMGsu7ya65fd_kKPZRRG2w
Harlan Stenn [Sat, 13 Jun 2015 09:47:57 +0000 (09:47 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/perlinger/ntp-stable-2845
bk: 557bfc4dxvtpgUZwohyDSyE9_AM0uQ
Harlan Stenn [Sat, 13 Jun 2015 09:28:57 +0000 (05:28 -0400)]
unity notes
bk: 557bf7d9mvAOmT4WAacA4xowMa7Zeg
Lokesh Walase [Sat, 13 Jun 2015 09:26:47 +0000 (14:56 +0530)]
Merge lokeshw24@psp-deb1.ntp.org:/home/stenn/ntp-stable-unity
into dadasgift.(none):/home/loki/ntp_gsoc/2_damir_code/ntp-stable-unity
bk: 557bf757cEsUssgGmDMZ3Y3ysUI7Ww
Harlan Stenn [Sat, 13 Jun 2015 09:16:11 +0000 (05:16 -0400)]
Note that Unity requires ruby, if tests change
bk: 557bf4dbWk1Ay2bHI-XL1ZqtHgXUnQ
Lokesh Walase [Sat, 13 Jun 2015 09:12:51 +0000 (14:42 +0530)]
hextolfp test converted to unity
bk: 557bf413mZ5C2qdi45su1BxQvAAU5Q
Harlan Stenn [Sat, 13 Jun 2015 02:47:12 +0000 (02:47 +0000)]
testcalshims.h cleanup
bk: 557b99b0dfvxS5d1vUSe3kwQIjaHXQ
Lokesh Walase [Fri, 12 Jun 2015 11:09:36 +0000 (16:39 +0530)]
Makefile.am modified for octotint.c file
bk: 557abdf0611AvuiG4OhZ42CVvUGl_Q
Harlan Stenn [Fri, 12 Jun 2015 10:53:55 +0000 (10:53 +0000)]
md5encrypt tests need current_time
bk: 557aba43QYD90h9fjdaww58IvYu7pw
Lokesh Walase [Fri, 12 Jun 2015 10:20:51 +0000 (15:50 +0530)]
octtoint.cpp converted to unity framework
bk: 557ab283KzgURGb65oTA0qgS4EJ1bg
Harlan Stenn [Fri, 12 Jun 2015 10:15:17 +0000 (10:15 +0000)]
Merge psp-at1.ntp.org:/home/viperus/ntp-stable-unity/sntp/unity/../../
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity
bk: 557ab135asnWvFtNSaxGKRJjJvs8VQ
Harlan Stenn [Fri, 12 Jun 2015 10:14:37 +0000 (10:14 +0000)]
sntp/unity/Makefile.am: Use default AUTOMAKE_OPTIONS
bk: 557ab10dpcXx5LPcc4AaMoafwZg3Dw
Harlan Stenn [Fri, 12 Jun 2015 10:00:29 +0000 (10:00 +0000)]
Merge psp-at1.ntp.org:/home/stenn/ntp-stable-unity
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/viperus/ntp-stable-unity
bk: 557aadbdiz8bCVRwuHYHSmoynHTXlw
Harlan Stenn [Fri, 12 Jun 2015 09:58:12 +0000 (09:58 +0000)]
EOL cleanup
bk: 557aad34yZv9IjSo78qgZN4ORVfZjQ
Harlan Stenn [Fri, 12 Jun 2015 09:29:49 +0000 (09:29 +0000)]
Distribute unity/auto/
bk: 557aa68dNtpgBV6glnhThGXOtwMWDQ
Damir Tomic [Fri, 12 Jun 2015 09:27:01 +0000 (11:27 +0200)]
authkeys.c:
added code which runs init_auth() only in the 1st setUp, prevents segfault
generate_test_runner.rb:
removed init_lib() and init_auth() from here. Put it into setUp() in the test, but it should be run only once
bk: 557aa5e53yHP7JP41B3LCdQalfrvjQ
Damir Tomic [Fri, 12 Jun 2015 09:14:36 +0000 (11:14 +0200)]
test-libntp.c:
removed stuff that was placed elsewhere
bk: 557aa2fc8qSUU7Nj1UCBifOYKRBrOw
Damir Tomic [Fri, 12 Jun 2015 08:50:27 +0000 (10:50 +0200)]
generate_test_runner.rb:
test runners main() will always call init_lib() and init_auth()
bk: 557a9d53GrmxgMwf6PkEcLXtbIttdQ
Damir Tomic [Fri, 12 Jun 2015 08:37:47 +0000 (10:37 +0200)]
updating autogenerated testrunners with progname = argv[0]
bk: 557a9a5bf5c5gbxJUFgXpf1kyrOYqg
Damir Tomic [Fri, 12 Jun 2015 08:33:08 +0000 (10:33 +0200)]
testcalshims.h:
also removed progname and current_time var
testcalshims.c:
removed progname and current_time var
bk: 557a9944uecKt-i6GQeqPweDVQ2wxw
Damir Tomic [Fri, 12 Jun 2015 08:14:36 +0000 (10:14 +0200)]
generate_test_runner.rb:
Added progname = argv[0] in main() function of each runner.
bk: 557a94ecP8wG8yF0Q2QqUeC1c2dWVg
Damir Tomic [Fri, 12 Jun 2015 06:25:21 +0000 (06:25 +0000)]
removed the outdated functions made purely for testing unity
bk: 557a7b51FDAUsLC1eWRce159j3ywCw
Damir Tomic [Thu, 11 Jun 2015 21:20:46 +0000 (21:20 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/viperus/ntp-stable-unity
bk: 5579fbaeYJLiNWOYtehR3_xBI_O-AA
Harlan Stenn [Thu, 11 Jun 2015 21:12:32 +0000 (21:12 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity
bk: 5579f9c0rzubUsV0AhCU-d7T1z3t4Q
Damir Tomic [Thu, 11 Jun 2015 21:00:26 +0000 (23:00 +0200)]
manually merged a few lines in tests/bug-2803/Makefile.am
bk: 5579f6eas3T642XJA-BMbrtlmzUBQQ
Damir Tomic [Thu, 11 Jun 2015 20:26:32 +0000 (22:26 +0200)]
Merge psp-deb1.ntp.org:/home/stenn/ntp-stable-unity/
into ubuntu.(none):/home/viperus/Desktop/ntp-stable-unity
bk: 5579eef8B42Dpdi8QikhhiiK42sS4g
Harlan Stenn [Thu, 11 Jun 2015 20:01:57 +0000 (20:01 +0000)]
test/Makefile.am DIST_SUBDIRS cleanup
bk: 5579e935MTbdLQRF46ui0-1U34pJmg
Harlan Stenn [Thu, 11 Jun 2015 19:00:08 +0000 (19:00 +0000)]
Fix a typo in tests/libntp/modetoa.c
bk: 5579dab848zYyBwXqvwiQsEXVC1BUw
Damir Tomic [Thu, 11 Jun 2015 18:50:24 +0000 (20:50 +0200)]
finished this test, changed TEST_ASSERT_DOUBLE_WITHIN(...) as jnperlin suggested
bk: 5579d870KCgzCkrT8DNSZFZdP5Blnw
Harlan Stenn [Thu, 11 Jun 2015 18:48:46 +0000 (18:48 +0000)]
Updates to tests/libntp/
bk: 5579d80eZO5MRcU_k0oEFKk7M12RiA
Juergen Perlinger [Thu, 11 Jun 2015 18:08:33 +0000 (20:08 +0200)]
[Bug 2843] make check fails on 4.3.36
Fixed compiler warnings about numeric range overflow (The original topic was fixed in a byplay to bug#2830)
bk: 5579cea1vwlhuMPohgqp47S8VXK4cg
Harlan Stenn [Thu, 11 Jun 2015 17:55:32 +0000 (17:55 +0000)]
tests/bug-2803/Makefile.am must distribute bug-2803.h
bk: 5579cb94PwAf0Ik2bX_G140ancVtYA
Harlan Stenn [Thu, 11 Jun 2015 17:54:00 +0000 (17:54 +0000)]
sntp/libpkgver belongs in EXTRA_DIST, not DIST_SUBDIRS
bk: 5579cb38y9WGyTZAyrU7w2juH_IyTg
Harlan Stenn [Thu, 11 Jun 2015 02:44:02 +0000 (02:44 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity
bk: 5578f5f2EIy56ufegax4xM4PquqHfQ
Harlan Stenn [Thu, 11 Jun 2015 02:23:44 +0000 (22:23 -0400)]
Typo: Bug 2887 -> Bug 2778
bk: 5578f130LtoBJ8HQevRABiC_9RQebA
Damir Tomic [Wed, 10 Jun 2015 11:09:48 +0000 (13:09 +0200)]
minor change in testrunner
bk: 55781afc33gpkxoxpnPYLxjilNsQVw
Damir Tomic [Wed, 10 Jun 2015 11:08:39 +0000 (13:08 +0200)]
Makefile.am:
added -DUNITY_DOUBLE_INCLUDE to CFLAGS, so I don't get linker errors anymore (because asserting double is disabled by default in unity)
Makefile.am: (/tests/libntp/Makefile.am)
added -DUNITY.... to makefile when building lfpfunc.c. Maybe I should add -DUNITY... to CFLAGS_unity or something like that'
lfpfunc.c:
converted more tests
bk: 55781ab7Iywh7RBULcFSUrdKvOmrDw
Harlan Stenn [Wed, 10 Jun 2015 10:52:55 +0000 (10:52 +0000)]
[Bug 2778] Implement "apeers" ntpq command to include associd
bk: 55781707H58CTQH80B16KuTsaZp4vA
Damir Tomic [Wed, 10 Jun 2015 08:21:01 +0000 (10:21 +0200)]
Makefile.am:
Added LIBM in LDADD.
bk: 5577f36doAKdoeQ44H_VLQue1u61eA
Juergen Perlinger [Tue, 9 Jun 2015 21:58:56 +0000 (23:58 +0200)]
[Bug 2845] Harden memory allocation in ntpd
implement and use 'eallocarray(...)' where appropriate
bk: 557761a0USeVPFgg6Fs6jOyVeUmzvA
Harlan Stenn [Tue, 9 Jun 2015 10:10:39 +0000 (10:10 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity
bk: 5576bb9foGhEj0gZxHuFzCSGfeXj8A
Damir Tomic [Mon, 8 Jun 2015 08:29:19 +0000 (10:29 +0200)]
added incomplete test for lfpfunc.c. Changes to makefile and created c_timestructs.c and .h, because timestructs.cpp is a big c++ wrapper. Slowly converting it all to C code
bk: 5575525fANFmrmD8NRZAzpGl0iaf9Q
Harlan Stenn [Mon, 8 Jun 2015 01:20:28 +0000 (21:20 -0400)]
[Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey
bk: 5574eddcCniEa88V6rWyyTWToNEGMA
Juergen Perlinger [Sun, 7 Jun 2015 21:11:26 +0000 (23:11 +0200)]
[Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey
- add changelog entry
- add ASSERTS to ntp_crypto.c for length of signature
bk: 5574b37eOZl0Nv8C_KC_1STow-y9tw
Damir Tomic [Sun, 7 Jun 2015 15:14:49 +0000 (17:14 +0200)]
removed some spaces from Makefile.am, removed init_auth from setUp, because every test was calling it. Added init_auth inside run-test-authkeys.c. This is aproblem because I had to modify an autogenerated file!
bk: 55745fe96kr50yxc8edcyQapPlIpsw
Damir Tomic [Sun, 7 Jun 2015 13:22:51 +0000 (13:22 +0000)]
loaded math lib for some tests so building works on psp-at1 and psp-fb1
bk: 557445abxsP0Hbobewlls1G5co1X-g
Damir Tomic [Sun, 7 Jun 2015 13:09:23 +0000 (15:09 +0200)]
re-enabled a_md5encrypt test
bk: 55744283gkHhiPuQ3qAuE6LR3wZIxQ
Damir Tomic [Sun, 7 Jun 2015 13:04:05 +0000 (15:04 +0200)]
temporarily removed #test-a_md5encrypt due to log10, linking with math lib
bk: 55744145yOBeCYxB1pW8QOZC1DdCUg
Damir Tomic [Sun, 7 Jun 2015 12:39:28 +0000 (14:39 +0200)]
added new includes in all files
bk: 55743b80nhHppTG_DFsXYlnR6Qhliw
Damir Tomic [Sun, 7 Jun 2015 12:31:53 +0000 (14:31 +0200)]
removed a minor makefile bug, put added new include in uglydate.c
bk: 557439b9tRTPcwheTYTR9933StUjtg
Damir Tomic [Sun, 7 Jun 2015 09:37:45 +0000 (11:37 +0200)]
for some reason this file isnt available on psp-deb1
bk: 557410e9XEbGPQZpOjict3KkFcXqcw
Harlan Stenn [Sun, 7 Jun 2015 09:27:40 +0000 (09:27 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/perlinger/ntp-stable-2830
bk: 55740e8cWYbY4-07WQCYcgwnVgh0yA
Juergen Perlinger [Sun, 7 Jun 2015 09:25:17 +0000 (11:25 +0200)]
[Bug 2830] ntpd doesn't always transfer the correct TAI offset via autokey
- fix test case that got damaged by changes to TAI table limit logic
bk: 55740dfdiFG-t0PXwyaNKY0HXSUfAA
Harlan Stenn [Sun, 7 Jun 2015 09:06:25 +0000 (09:06 +0000)]
Merge bk://bk.ntp.org/ntp-stable
into psp-at1.ntp.org:/a/etc/amd.stage/thump2-g3/export/ntp/home/stenn/ntp-stable-unity
bk: 55740991cu4ybFZbmfjnJ9UWs3TB9A