keactrl test verifying version output for various daemons fails on macOS
While running unit test on the latest master branch I got the following output:
START TEST version-command
Assertion failure: -e keactrl: 1.4.0-git
kea-dhcp4: 1.4.0-git
kea-dhcp6: 1.4.0-git
kea-dhcp-ddns: 1.4.0-git
kea-ctrl-agent: 1.4.0-git != keactrl: 1.4.0-git
kea-dhcp4: 1.4.0-P1
kea-dhcp6: 1.4.0-P1
kea-dhcp-ddns: 1.4.0-P1
kea-ctrl-agent: 1.4.0-P1, for val1=-e keactrl: 1.4.0-git
kea-dhcp4: 1.4.0-git
kea-dhcp6: 1.4.0-git
kea-dhcp-ddns: 1.4.0-git
kea-ctrl-agent: 1.4.0-git, val2=keactrl: 1.4.0-git
kea-dhcp4: 1.4.0-P1
kea-dhcp6: 1.4.0-P1
kea-dhcp-ddns: 1.4.0-P1
kea-ctrl-agent: 1.4.0-P1
Expected keactrl version to report -e, but it reported keactrl:
Expected keactrl version to report 1.4.0-git, but it reported kea-dhcp4:
Expected keactrl version to report 1.4.0-git, but it reported kea-dhcp6:
Expected keactrl version to report 1.4.0-git, but it reported kea-dhcp-ddns:
Expected keactrl version to report 1.4.0-git, but it reported kea-ctrl-agent:
Expected keactrl version to report 1.4.0-git, but it reported keactrl:
Expected keactrl version to report 1.4.0-git, but it reported kea-dhcp4:
Expected keactrl version to report 1.4.0-P1, but it reported kea-dhcp6:
Expected keactrl version to report 1.4.0-P1, but it reported kea-dhcp-ddns:
Expected keactrl version to report 1.4.0-P1, but it reported kea-ctrl-agent:
Expected keactrl version to report 1.4.0-P1, but it reported
FAILED version-command
The test needs to be change to be portable with macOS. Also, other OSes, such as BSD must be tested.