summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMajor Hayden <major@redhat.com>2019-07-29 16:03:45 -0500
committerMajor Hayden <major@redhat.com>2019-07-29 16:08:51 -0500
commit9822f54ac3250661f8a2c22713824f55665fbd8a (patch)
tree84130ad6fbe570d07b8530d47f3489ba3403ae93 /test
parent7d635ac1c5ce61385dea009d29eceb90fea8db30 (diff)
downloadpodman-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.bats2
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.]