From 7fc0fbfb657f9a1620e76ea0d48a30b1ee4af4b8 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 20 Aug 2020 14:17:48 -0400 Subject: Fix a system test failure Signed-off-by: Matthew Heon --- test/system/015-help.bats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/system/015-help.bats b/test/system/015-help.bats index 42d3bd3ec..201b23b5e 100644 --- a/test/system/015-help.bats +++ b/test/system/015-help.bats @@ -40,7 +40,9 @@ function check_help() { [ -n "$usage" ] || die "podman $cmd: no Usage message found" # e.g. 'podman ps' should not show 'podman container ps' in usage - is "$usage" " $command_string .*" "Usage string matches command" + # Trailing space in usage handles 'podman system renumber' which + # has no ' [flags]' + is "$usage " " $command_string .*" "Usage string matches command" # If usage ends in '[command]', recurse into subcommands if expr "$usage" : '.*\[command\]$' >/dev/null; then -- cgit v1.2.3-54-g00ecf