aboutsummaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-08-20 14:17:48 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-08-20 14:17:48 -0400
commit7fc0fbfb657f9a1620e76ea0d48a30b1ee4af4b8 (patch)
tree31d9308bde4b127a642071702cccbfd33ade78d7 /test/system
parentde75ae29ff461ebc4932a2ad7047855f51797dda (diff)
downloadpodman-7fc0fbfb657f9a1620e76ea0d48a30b1ee4af4b8.tar.gz
podman-7fc0fbfb657f9a1620e76ea0d48a30b1ee4af4b8.tar.bz2
podman-7fc0fbfb657f9a1620e76ea0d48a30b1ee4af4b8.zip
Fix a system test failure
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'test/system')
-rw-r--r--test/system/015-help.bats4
1 files changed, 3 insertions, 1 deletions
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