Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
1bf7b6c4
Commit
1bf7b6c4
authored
Aug 11, 2014
by
Tomek Mrugalski
🛰
Browse files
[3508] Unit-tests added for version reporting.
parent
0bcb05a8
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/bin/d2/tests/d2_process_tests.sh.in
View file @
1bf7b6c4
...
...
@@ -16,6 +16,8 @@
CFG_FILE=@abs_top_builddir@/src/bin/d2/tests/test_config.json
# Path to the D2 log file.
LOG_FILE=@abs_top_builddir@/src/bin/d2/tests/test.log
# Expected version
EXPECTED_VERSION="@PACKAGE_VERSION@"
# D2 configuration to be stored in the configuration file.
CONFIG="{
\"DhcpDdns\":
...
...
@@ -236,3 +238,4 @@ shutdown_test() {
dynamic_reconfiguration_test
shutdown_test "dhcp-ddns.sigterm_test" 15
shutdown_test "dhcp-ddns.sigint_test" 2
version_test "dhcp-ddns.version"
src/bin/dhcp4/dhcp4_messages.mes
View file @
1bf7b6c4
...
...
@@ -351,9 +351,10 @@ core component within the DHCPv4 server (the Dhcpv4 server object)
has failed. As a result, the server will exit. The reason for the
failure is given within the message.
% DHCP4_STARTING
server
starting
% DHCP4_STARTING
Kea DHCPv4 server version %1
starting
This informational message indicates that the DHCPv4 server has
processed any command-line switches and is starting.
processed any command-line switches and is starting. The version
is also printed.
% DHCP4_START_INFO pid: %1, port: %2, verbose: %3
This is a debug message issued during the DHCPv4 server startup.
...
...
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
View file @
1bf7b6c4
...
...
@@ -16,6 +16,8 @@
CFG_FILE=@abs_top_builddir@/src/bin/dhcp4/tests/test_config.json
# Path to the Kea log file.
LOG_FILE=@abs_top_builddir@/src/bin/dhcp4/tests/test.log
# Expected version
EXPECTED_VERSION="@PACKAGE_VERSION@"
# Kea configuration to be stored in the configuration file.
CONFIG="{
\"Dhcp4\":
...
...
@@ -256,3 +258,4 @@ shutdown_test() {
dynamic_reconfiguration_test
shutdown_test "dhcpv4.sigterm_test" 15
shutdown_test "dhcpv4.sigint_test" 2
version_test "dhcpv4.version"
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
View file @
1bf7b6c4
...
...
@@ -16,6 +16,8 @@
CFG_FILE=@abs_top_builddir@/src/bin/dhcp6/tests/test_config.json
# Path to the Kea log file.
LOG_FILE=@abs_top_builddir@/src/bin/dhcp6/tests/test.log
# Expected version
EXPECTED_VERSION="@PACKAGE_VERSION@"
# Kea configuration to be stored in the configuration file.
CONFIG="{
\"Dhcp6\":
...
...
@@ -257,5 +259,6 @@ shutdown_test() {
}
dynamic_reconfiguration_test
shutdown_test "dhcpv4.sigterm_test" 15
shutdown_test "dhcpv4.sigint_test" 2
shutdown_test "dhcpv6.sigterm_test" 15
shutdown_test "dhcpv6.sigint_test" 2
version_test "dhcpv6.version"
src/bin/keactrl/keactrl.in
View file @
1bf7b6c4
...
...
@@ -284,7 +284,7 @@ case ${command} in
args
=
"-c
${
kea_config_file
}
"
if
[
"
${
kea_verbose
}
"
=
"yes"
]
;
then
args
=
"
${
args
}
-
v
"
args
=
"
${
args
}
-
d
"
fi
# Run servers if they are on the list of servers from the command line
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment