summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-10-03 07:53:37 -0600
committerEd Santiago <santiago@redhat.com>2019-10-03 07:55:41 -0600
commit0ed9763b724f85d39a1997c31aab5875d26fd95f (patch)
tree756d1b55fe6414c6c1155b3999393d69da430064
parentb32cb4b750842212f8002e030db63e92c6485fdc (diff)
downloadpodman-0ed9763b724f85d39a1997c31aab5875d26fd95f.tar.gz
podman-0ed9763b724f85d39a1997c31aab5875d26fd95f.tar.bz2
podman-0ed9763b724f85d39a1997c31aab5875d26fd95f.zip
system tests: info: deal with hyphen in username
...e.g. cloud-user. 9822f54ac was intended to fix this, but it doesn't. Simple and standard solution is to move the dash to the end of the character class. Signed-off-by: Ed Santiago <santiago@redhat.com>
-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 7fccc75af..5df6033fc 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.]