From 7a008c6b74e559a3e677257be3ea57a5821e3e9c Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Mon, 11 Nov 2019 17:05:53 +1100 Subject: ctdb-tests: Update cmdline tests for section name Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/tests/UNIT/cunit/cmdline_test_001.sh | 6 +++--- ctdb/tests/src/cmdline_test.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ctdb/tests/UNIT/cunit/cmdline_test_001.sh b/ctdb/tests/UNIT/cunit/cmdline_test_001.sh index 72089519f5e..2835c8e574e 100755 --- a/ctdb/tests/UNIT/cunit/cmdline_test_001.sh +++ b/ctdb/tests/UNIT/cunit/cmdline_test_001.sh @@ -46,7 +46,7 @@ Usage: test5 [] [] Help Options: -h, --help Show this help message -Commands: +Action Commands: action one action one help action two action two help Usage: test5 [] [] @@ -54,7 +54,7 @@ Usage: test5 [] [] Help Options: -h, --help Show this help message -Commands: +Action Commands: action one action one help action two action two help Usage: test5 [] [] @@ -62,7 +62,7 @@ Usage: test5 [] [] Help Options: -h, --help Show this help message -Commands: +Action Commands: action one action one help action two action two help EOF diff --git a/ctdb/tests/src/cmdline_test.c b/ctdb/tests/src/cmdline_test.c index 98ce65b0881..72c34acd654 100644 --- a/ctdb/tests/src/cmdline_test.c +++ b/ctdb/tests/src/cmdline_test.c @@ -286,7 +286,7 @@ static void test5(void) ret = cmdline_init(mem_ctx, "test5", NULL, - NULL, + "Action", action_commands, &cmdline); assert(ret == 0); -- cgit v1.2.1