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
ISC Open Source Projects
Kea
Commits
6ef4ae43
Commit
6ef4ae43
authored
Aug 01, 2014
by
Thomas Markwalder
Browse files
[3479] Updated keacrtl_tests.sh.in to match D2 logging changes
parent
93847ae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/keactrl/tests/keactrl_tests.sh.in
View file @
6ef4ae43
...
...
@@ -136,7 +136,7 @@ Expected wait_for_message return %d, returned %d."
assert_eq 0
${
_GET_LOG_MESSAGES
}
\
"Expected get_log_messages return %d, returned %d."
get_log_messages
"DCTL_STA
RTING
"
get_log_messages
"DCTL_STA
NDALONE
"
assert_eq 0
${
_GET_LOG_MESSAGES
}
\
"Expected get_log_messages return %d, returned %d."
...
...
@@ -176,7 +176,7 @@ Expected wait_for_message return %d, returned %d."
Expected wait_for_message return %d, returned %d."
# Wait up to 10s for the D2 server to stop.
wait_for_message 10
"D
CTL_STOPPING
"
1
wait_for_message 10
"D
HCP_DDNS_SHUTDOWN
"
1
assert_eq 1
${
_WAIT_FOR_MESSAGE
}
\
"Timeout waiting for
${
d2_name
}
to shutdown.
\
Expected wait_for_message return %d, returned %d."
...
...
@@ -240,9 +240,9 @@ Expected wait_for_message return %d, returned %d."
assert_eq 1
${
_GET_LOG_MESSAGES
}
\
"Expected get_log_messages for DHCP4_START_INFO return %d, returned %d."
get_log_messages
"DCTL_STA
RTING
"
1
get_log_messages
"DCTL_STA
NDALONE
"
1
assert_eq 1
${
_GET_LOG_MESSAGES
}
\
"Expected get_log_messages for DCT
L
_STA
RTING
return %d, returned %d."
"Expected get_log_messages for DCT_STA
NDALONE
return %d, returned %d."
# Server may shut down imediatelly after configuration has competed.
# Give it some time to shutdown.
...
...
@@ -280,7 +280,7 @@ Expected wait_for_message return %d, returned %d."
Expected wait_for_message return %d, returned %d."
# Wait up to 10s for the D2 server to stop.
wait_for_message 10
"D
CTL_STOPPING
"
1
wait_for_message 10
"D
HCP_DDNS_SHUTDOWN
"
1
assert_eq 1
${
_WAIT_FOR_MESSAGE
}
\
"Timeout waiting for
${
d2_name
}
to shutdown.
\
Expected wait_for_message return %d, returned %d."
...
...
@@ -592,7 +592,7 @@ Expected wait_for_message return %d, returned %d."
Expected wait_for_message return %d, returned %d."
# Wait up to 10s for the D2 server to stop.
wait_for_message 10
"D
CTL_STOPPING
"
1
wait_for_message 10
"D
HCP_DDNS_SHUTDOWN
"
1
assert_eq 1
${
_WAIT_FOR_MESSAGE
}
\
"Timeout waiting for
${
d2_name
}
to shutdown.
\
Expected wait_for_message return %d, returned %d."
...
...
@@ -746,7 +746,7 @@ Expected wait_for_message return %d, returned %d."
Expected wait_for_message return %d, returned %d."
# Wait up to 10s for the d2 server to stop.
wait_for_message 10
"D
CTL_STOPPING
"
1
wait_for_message 10
"D
HCP_DDNS_SHUTDOWN
"
1
assert_eq 1
${
_WAIT_FOR_MESSAGE
}
\
"Timeout waiting for
${
d2_name
}
to shutdown.
\
Expected wait_for_message return %d, returned %d."
...
...
@@ -808,9 +808,9 @@ Expected wait_for_message return %d, returned %d."
assert_eq 0
${
_GET_LOG_MESSAGES
}
\
"Expected get_log_messages return %d, returned %d."
get_log_messages
"DCTL_STA
RTING
"
get_log_messages
"DCTL_STA
NDALONE
"
assert_eq 0
${
_GET_LOG_MESSAGES
}
\
"Expected get_log_messages return %d, returned %d."
"Expected get_log_messages return %d, returned %d."
# Server may shut down imediatelly after configuration has competed.
# Give it some time to shutdown.
...
...
@@ -885,7 +885,7 @@ Expected wait_for_message return %d, returned %d."
assert_eq 0
${
ret
}
"Expected keactrl to return %d, returned value was %d."
# Wait up to 10s for the D2 server to stop.
wait_for_message 10
"D
CTL_STOPPING
"
1
wait_for_message 10
"D
HCP_DDNS_SHUTDOWN
"
1
assert_eq 1
${
_WAIT_FOR_MESSAGE
}
\
"Timeout waiting for
${
d2_name
}
to shutdown.
\
Expected wait_for_message return %d, returned %d."
...
...
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