diff options
author | Francis Dupont <fdupont@isc.org> | 2019-01-02 17:19:20 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-01-03 10:05:03 +0100 |
commit | ab27550cec365f42289eb5fa1bc39f33f01b19c2 (patch) | |
tree | e82078e840b8aaeca764dd600822c4db9eed95a9 /src/bin/shell | |
parent | [30-implement-control-socket-for-ddns-2] Updated kea-shell tests (diff) | |
download | kea-ab27550cec365f42289eb5fa1bc39f33f01b19c2.tar.xz kea-ab27550cec365f42289eb5fa1bc39f33f01b19c2.zip |
[30-implement-control-socket-for-ddns-2] Finished test updates
Diffstat (limited to 'src/bin/shell')
-rw-r--r-- | src/bin/shell/tests/shell_process_tests.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/shell/tests/shell_process_tests.sh.in b/src/bin/shell/tests/shell_process_tests.sh.in index 14a5e0b926..4edb5cad11 100644 --- a/src/bin/shell/tests/shell_process_tests.sh.in +++ b/src/bin/shell/tests/shell_process_tests.sh.in @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2018 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2017-2019 Internet Systems Consortium, Inc. ("ISC") # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -180,7 +180,7 @@ version_test "shell.version" shell_command_test "shell.list-commands" "list-commands" \ "[ { \"arguments\": [ \"build-report\", \"config-get\", \"config-set\", \"config-test\", \"config-write\", \"list-commands\", \"shutdown\", \"version-get\" ], \"result\": 0 } ]" "" shell_command_test "shell.bogus" "give-me-a-beer" \ -"[ { \"result\": 2, \"text\": \"'give-me-a-beer' command not supported. You did not include \\\"service\\\" parameter in the command, which indicates that Kea Control Agent should process this command rather than forward it to one or more DHCP servers. If you aimed to send this command to one of the DHCP servers you should include the \\\"service\\\" parameter in your request, e.g. \\\"service\\\": [ \\\"dhcp4\\\" ] to forward the command to the DHCPv4 server, or \\\"service\\\": [ \\\"dhcp4\\\", \\\"dhcp6\\\" ] to forward it to both DHCPv4 and DHCPv6 servers etc.\" } ]" "" +"[ { \"result\": 2, \"text\": \"'give-me-a-beer' command not supported. You did not include \\\"service\\\" parameter in the command, which indicates that Kea Control Agent should process this command rather than forward it to one or more Kea servers. If you aimed to send this command to one of the Kea servers you should include the \\\"service\\\" parameter in your request, e.g. \\\"service\\\": [ \\\"dhcp4\\\" ] to forward the command to the DHCPv4 server, or \\\"service\\\": [ \\\"dhcp4\\\", \\\"dhcp6\\\", \\\"d2\\\" ] to forward it to DHCPv4, DHCPv6 and D2 servers etc.\" } ]" "" shell_command_test "shell.empty-config-test" "config-test" \ "[ { \"result\": 1, \"text\": \"Missing mandatory 'arguments' parameter.\" } ]" "" shell_command_test "shell.no-app-config-test" "config-test" \ |