2
0
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:
Andrei Pavel 2021-06-25 09:52:50 +03:00
parent 72c5009748
commit 8b58f7218c
No known key found for this signature in database
GPG Key ID: 86E9385BC2203766

View File

@ -523,9 +523,13 @@ keactrl_status_test() {
'DHCPv4 server: inactive
DHCPv6 server: inactive
DHCP DDNS: inactive
Control Agent: inactive
Netconf agent: inactive' \
"$(printf '%s\n' "${OUTPUT}" | head -n 5)"
Control Agent: inactive' \
"$(printf '%s\n' "${OUTPUT}" | head -n 4)"
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