diff options
author | Major Hayden <major@redhat.com> | 2019-07-29 16:03:45 -0500 |
---|---|---|
committer | Major Hayden <major@redhat.com> | 2019-07-29 16:08:51 -0500 |
commit | 9822f54ac3250661f8a2c22713824f55665fbd8a (patch) | |
tree | 84130ad6fbe570d07b8530d47f3489ba3403ae93 /test | |
parent | 7d635ac1c5ce61385dea009d29eceb90fea8db30 (diff) | |
download | podman-9822f54ac3250661f8a2c22713824f55665fbd8a.tar.gz podman-9822f54ac3250661f8a2c22713824f55665fbd8a.tar.bz2 podman-9822f54ac3250661f8a2c22713824f55665fbd8a.zip |
Allow info test to work with usernames w/dash
The regular expression used in the `info` test does not allow for
usernames that have a dash, such as `test-user`. This patch adjusts
the regex to allow for a dash.
Fixes #3666.
Signed-off-by: Major Hayden <major@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/system/005-info.bats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/005-info.bats b/test/system/005-info.bats index 0068e35a9..7fccc75af 100644 --- a/test/system/005-info.bats +++ b/test/system/005-info.bats @@ -33,7 +33,7 @@ RunRoot: run_podman info --format=json expr_nvr="[a-z0-9-]\\\+-[a-z0-9.]\\\+-[a-z0-9]\\\+\." - expr_path="/[a-z0-9\\\/.]\\\+\\\$" + expr_path="/[a-z0-9\\\-\\\/.]\\\+\\\$" tests=" host.BuildahVersion | [0-9.] |