From 9822f54ac3250661f8a2c22713824f55665fbd8a Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Mon, 29 Jul 2019 16:03:45 -0500 Subject: 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 --- test/system/005-info.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/system/005-info.bats') 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.] -- cgit v1.2.3-54-g00ecf