Tomek Mrugalski
31f30b1e99
[1651] Tests for IfaceMgr callback implemented, devel doc updated
2012-06-01 14:46:05 +02:00
Tomek Mrugalski
e5e4a7ec0a
[1651] tests for Session::getSocketDesc() implemented.
2012-05-31 17:24:46 +02:00
Tomek Mrugalski
62de4b87e9
[1651] Support for msgq implemented in b10-dhcp4 component.
2012-05-30 18:36:58 +02:00
Tomek Mrugalski
977c4a2b57
[1651] Small command handling improvements.
2012-05-11 17:39:47 +02:00
Tomek Mrugalski
77db6312d8
[1651] Support for shutdown command implemented.
2012-05-11 14:43:22 +02:00
Tomek Mrugalski
4a09f5d1d1
Merge branch 'master' into trac1651
2012-05-11 13:11:39 +02:00
Tomek Mrugalski
c11a19fe6b
fillRandom now uses random() instead of rand()
...
- a generic improvement that fixes NetBSD test failure.
2012-05-10 17:33:05 +02:00
Tomek Mrugalski
c09c891d2c
Compilation fix for Solaris 10 (in pkt6.cc)
2012-05-10 09:51:28 +02:00
JINMEI Tatuya
fad2e0dab8
[master] temporarily disabled Dhcpv6SrvTest::Solicit_basic.
...
It fails on some systems. e.g.
http://git.bind10.isc.org/~tester/builder//BIND10/20120509174501-MacOSX10.6-x86_64-Clang-Static/logs/unittests.out
2012-05-09 11:40:05 -07:00
Tomek Mrugalski
a86b0a75d7
Test fixes in dhcpv6.
2012-05-09 18:31:45 +02:00
Tomek Mrugalski
626e81094b
make distcheck fix
2012-05-09 16:38:10 +02:00
Tomek Mrugalski
16e7be2080
IfaceMgr compilation fix for BSD systems.
2012-05-09 15:23:54 +02:00
Tomek Mrugalski
c3b6b5bbce
Compilation fix: added missing header for distance method.
2012-05-09 14:58:16 +02:00
Tomek Mrugalski
fe58fab6bd
[1528] ChangeLog commit-id update.
2012-05-09 14:23:06 +02:00
Tomek Mrugalski
221f564949
Merge branch 'master' into trac1528
...
Conflicts:
ChangeLog
src/lib/dhcp/iface_mgr_linux.cc
2012-05-09 14:19:48 +02:00
Tomek Mrugalski
028d5ab64c
[1540] ChangeLog commit-id update.
2012-05-09 13:28:57 +02:00
Tomek Mrugalski
a40b6c6656
Merge branch 'master' into trac1540
...
Conflicts:
ChangeLog
src/bin/dhcp4/dhcp4_srv.h
src/lib/dhcp/libdhcp++.h
src/lib/dhcp/option.cc
src/lib/dhcp/option.h
src/lib/dhcp/option4_addrlst.cc
src/lib/dhcp/option6_ia.cc
src/lib/dhcp/option6_iaaddr.h
src/lib/dhcp/pkt4.h
src/lib/dhcp/pkt6.cc
src/lib/dhcp/pkt6.h
2012-05-09 13:23:33 +02:00
Tomek Mrugalski
b22ff2de4d
Default values are now in range of uintX_t (Compilation fix for Solaris).
2012-05-09 12:35:54 +02:00
JINMEI Tatuya
409ca483d1
[1964] updated the non-check mode case of logging to be consistent.
2012-05-08 16:32:15 -07:00
JINMEI Tatuya
892f6b266a
[1964] added another test case where we can really check the thrown exception.
...
also clarified the comment: the previous one didn't make perfect sense in
that if it's really about exception we could have simply used EXCEPT_THROW.
2012-05-08 16:09:18 -07:00
JINMEI Tatuya
18675a2d6a
[1964] use assert() instead of throwing exception in checkExcessPlaceholders.
...
unfortunatelly, we cannot throw here because it's called from the Formatter
destructor. death tests now work for environments where it previously failed.
2012-05-08 15:57:11 -07:00
JINMEI Tatuya
25f0bb96dd
[1964] small cleanups for checkExcessPlaceholders.
...
- style fixes
- constify (also for replacePlaceholder)
- make sure all parameters are used regardless of ENABLE_LOGGER_CHECKS
2012-05-08 15:23:06 -07:00
JINMEI Tatuya
6c0da87a7b
[1964] moved dontCreateCoreDumps to libutil_unittests.
...
this solves various build troubles such as leaving it unused, causing
circular dependcies, or the use of unnamed namespace in a public header file.
2012-05-08 15:11:55 -07:00
Jeremy C. Reed
36d930c2e6
[master][trac1531] spelling typo fixes in comments
2012-05-08 11:56:03 -05:00
Tomek Mrugalski
be560f4516
[1540] Changes after review:
...
- test prints out information that failed socket binding is ok.
- iface_mgr buffers are no longer static.
2012-05-08 18:17:58 +02:00
Tomek Mrugalski
0c1c1eb1a9
Merge branch 'trac1531'
...
Conflicts:
doc/.gitignore
src/lib/util/buffer.h
2012-05-08 17:32:18 +02:00
Mukund Sivaraman
b3dd1982b7
[1892] Change EXPECT_ABORT to EXPECT_DEATH
2012-05-08 20:41:13 +05:30
Mukund Sivaraman
1c88a49755
[1892] Fix the message string in MismatchedPlaceholders exceptions
2012-05-08 20:41:13 +05:30
Tomek Mrugalski
fbe7a931b3
[1531] Changes after Jeremy's review.
2012-05-08 17:08:48 +02:00
Tomek Mrugalski
67a08ea405
[1528] Nitpick comparison optimization in Linux version of ifacemgr
2012-05-08 14:50:29 +02:00
Tomek Mrugalski
3b48a25b8e
[1528] Small clean-ups in Linux version of ifacemgr.
2012-05-08 14:48:13 +02:00
JINMEI Tatuya
253701eb2c
[master] cleanup: removed an obsolete comment added in development.
...
It was temporarily introduced at 1fc79b93 for #1028 , but it should have been
cleaned up even before commiting the change.
should be trivial and harmless, so I'm directly commiting the cleanup.
2012-05-07 10:08:55 -07:00
Mukund Sivaraman
84ce6a7875
[master] Use -c to copy when using install-sh
2012-05-07 18:54:45 +05:30
Mukund Sivaraman
6567d28ea9
[master] Remove files that are put in place by autoreconf
2012-05-07 12:43:04 +05:30
Mukund Sivaraman
4846fa711c
[master] Make a minor whitespace fix to the last but one ChangeLog entry
2012-05-07 10:42:44 +05:30
Mukund Sivaraman
8c1eb19809
[1930] Add ChangeLog entry
2012-05-07 10:42:15 +05:30
Mukund Sivaraman
fcf2f08db9
[1930] Install headers into bind10-specific directory
2012-05-07 10:39:06 +05:30
Mukund Sivaraman
7d8efaf11c
[1892] Add scaffolding check around resource.h
2012-05-04 18:31:25 +05:30
Mukund Sivaraman
0a05819f8a
[1880] Add dontCreateCoreDumps() to EXPECT_ABORT tests
2012-05-04 18:21:14 +05:30
Mukund Sivaraman
c805a1176a
[1880] EXTRA_DIST resource.h
2012-05-04 16:32:02 +05:30
Michal 'vorner' Vaner
255456507a
[1880] Style fix
...
We use anonymous namespace instead of static before a function.
2012-05-04 15:24:34 +05:30
Mukund Sivaraman
491896718f
[1880] Move dontCreateCoreDumps() definition to the header due to dependency issues
2012-05-04 15:24:26 +05:30
Mukund Sivaraman
8b0e391e3a
[1880] Untabify file
2012-05-04 15:24:19 +05:30
Mukund Sivaraman
408043d940
[1880] Use a helper function instead of repeating code
2012-05-04 15:24:11 +05:30
Mukund Sivaraman
d7191f1b7a
[1880] Don't create core files when EXPECT_DEATH is used
2012-05-04 15:24:02 +05:30
Jelte Jansen
56083b8256
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
2012-05-04 07:55:49 +00:00
Jelte Jansen
cc0b929d0d
[master] more ldadd order fixes
...
other binaries in log/unittests also need to link to our local libs first
2012-05-04 07:53:49 +00:00
Michal 'vorner' Vaner
d6d2673701
Merge #1802
2012-05-04 09:06:06 +02:00
Michal 'vorner' Vaner
5fb1859628
[1892] Return the placeholders to tests too
...
The test code now reflects the code change.
2012-05-04 09:33:13 +05:30
Mukund Sivaraman
dfaf9712d1
[1892] Put back the @@Missing placeholder warning when logger checks are off
2012-05-04 09:33:04 +05:30