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>
This commit is contained in:
Ed Santiago
2019-10-03 07:53:37 -06:00
parent b32cb4b750
commit 0ed9763b72

View File

@ -33,7 +33,7 @@ RunRoot:
run_podman info --format=json run_podman info --format=json
expr_nvr="[a-z0-9-]\\\+-[a-z0-9.]\\\+-[a-z0-9]\\\+\." expr_nvr="[a-z0-9-]\\\+-[a-z0-9.]\\\+-[a-z0-9]\\\+\."
expr_path="/[a-z0-9\\\-\\\/.]\\\+\\\$" expr_path="/[a-z0-9\\\/.-]\\\+\\\$"
tests=" tests="
host.BuildahVersion | [0-9.] host.BuildahVersion | [0-9.]