mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 13:07:50 +00:00
[#1941] fix keactrl test when sysrepo is disabled
This commit is contained in:
parent
72c5009748
commit
8b58f7218c
@ -523,9 +523,13 @@ keactrl_status_test() {
|
|||||||
'DHCPv4 server: inactive
|
'DHCPv4 server: inactive
|
||||||
DHCPv6 server: inactive
|
DHCPv6 server: inactive
|
||||||
DHCP DDNS: inactive
|
DHCP DDNS: inactive
|
||||||
Control Agent: inactive
|
Control Agent: inactive' \
|
||||||
Netconf agent: inactive' \
|
"$(printf '%s\n' "${OUTPUT}" | head -n 4)"
|
||||||
"$(printf '%s\n' "${OUTPUT}" | head -n 5)"
|
|
||||||
|
if "${have_netconf}"; then
|
||||||
|
assert_str_eq 'Netconf agent: inactive' \
|
||||||
|
"$(printf '%s\n' "${OUTPUT}" | head -n 5 | tail -n 1)"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Test that a simple "keactrl status" without a configuration file works in two
|
# Test that a simple "keactrl status" without a configuration file works in two
|
||||||
|
Loading…
x
Reference in New Issue
Block a user