summaryrefslogtreecommitdiff
path: root/test/e2e/run_device_test.go
diff options
context:
space:
mode:
authorEvan Lezar <elezar@nvidia.com>2022-01-12 16:38:36 +0100
committerEvan Lezar <elezar@nvidia.com>2022-01-14 13:35:22 +0100
commit72ab66d88622eadcf7c603aa5e6c0751d72214dc (patch)
tree0b6ec2508427447bee3518f8fda0cf257c7a6013 /test/e2e/run_device_test.go
parent968deb7c2cd2e4fab7edf03f2a73fb62bb652171 (diff)
downloadpodman-72ab66d88622eadcf7c603aa5e6c0751d72214dc.tar.gz
podman-72ab66d88622eadcf7c603aa5e6c0751d72214dc.tar.bz2
podman-72ab66d88622eadcf7c603aa5e6c0751d72214dc.zip
Use fully-qualified device name in CDI test
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Diffstat (limited to 'test/e2e/run_device_test.go')
-rw-r--r--test/e2e/run_device_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_device_test.go b/test/e2e/run_device_test.go
index fbf1eb791..4eb03dfff 100644
--- a/test/e2e/run_device_test.go
+++ b/test/e2e/run_device_test.go
@@ -109,7 +109,7 @@ var _ = Describe("Podman run device", func() {
err = cmd.Run()
Expect(err).To(BeNil())
- session := podmanTest.Podman([]string{"run", "-q", "--security-opt", "label=disable", "--device", "myKmsg", ALPINE, "test", "-c", "/dev/kmsg1"})
+ session := podmanTest.Podman([]string{"run", "-q", "--security-opt", "label=disable", "--device", "vendor.com/device=myKmsg", ALPINE, "test", "-c", "/dev/kmsg1"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
})