Fix tests using invalid ID
These tests are using their name as ID, but subtests add a forward slash connected to the parent test, and slash (/) is an invalid character for container IDs. Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
parent
45407846f3
commit
b769cce904
@ -493,7 +493,7 @@ func testContainerUser(t *testing.T, userstr, expectedOutput string) {
|
|||||||
var (
|
var (
|
||||||
image Image
|
image Image
|
||||||
ctx, cancel = testContext()
|
ctx, cancel = testContext()
|
||||||
id = t.Name()
|
id = strings.Replace(t.Name(), "/", "_", -1)
|
||||||
)
|
)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user