]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Fix in shell unit-tests after #5078 merge.
authorTomek Mrugalski <tomasz@isc.org>
Mon, 3 Apr 2017 19:06:11 +0000 (21:06 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 3 Apr 2017 19:06:11 +0000 (21:06 +0200)
src/bin/shell/tests/shell_process_tests.sh.in

index 47da9a56eec7493d4501475c8d2c1dab7c3ca109..c80e81a34583b026ec11d83d482a8b79d0165b7f 100644 (file)
@@ -180,7 +180,7 @@ version_test "shell.version"
 shell_command_test "shell.list-commands" "list-commands" \
     "[ { \"arguments\": [ \"build-report\", \"config-get\", \"config-test\", \"config-write\", \"list-commands\", \"shutdown\", \"version-get\" ], \"result\": 0 } ]" ""
 shell_command_test "shell.bogus" "give-me-a-beer" \
-    "[ { \"result\": 1, \"text\": \"'give-me-a-beer' command not supported.\" } ]" ""
+    "[ { \"result\": 2, \"text\": \"'give-me-a-beer' command not supported.\" } ]" ""
 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" \