-
Notifications
You must be signed in to change notification settings - Fork 882
Conversation
I'll add a functional test. |
Added a test. |
9c5e0c5
to
c2cb7c9
Compare
|
@@ -200,7 +200,7 @@ func importImageAndFetchHashAsGid(t *testing.T, ctx *testutils.RktRunCtx, img st | |||
} | |||
|
|||
// Read out the image hash. | |||
result, out, err := expectRegexWithOutput(child, "sha512-[0-9a-f]{32}") | |||
result, out, err := expectRegexWithOutput(child, "sha512-[0-9a-f]{32,}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does {32,}
mean? Either 32 characters or 1 character?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x{n,} n or more x, prefer more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not using x{32,64}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, didn't see that 😅
That sounds great but I think we should do that for in a consistent way for every command instead of trying to squeeze it in the current docs. We can do that in a follow-up. |
c2cb7c9
to
ad20a3b
Compare
LGTM after a rebase, if Semaphore is still green. |
It prints the full image hash instead of a truncated one.
Rebased. |
ad20a3b
to
4e81656
Compare
4e81656
to
d62e8b1
Compare
It prints the full image hash instead of a truncated one.
Fixes #1967