Browse Source

Merge pull request #12011 from jfrazelle/fix-lxc-device-test

fix device test on lxc...
Tibor Vass 10 năm trước cách đây
mục cha
commit
42c7855014
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      integration-cli/docker_cli_run_unix_test.go

+ 1 - 0
integration-cli/docker_cli_run_unix_test.go

@@ -175,6 +175,7 @@ func TestRunContainerWithCgroupParentAbsPath(t *testing.T) {
 }
 
 func TestRunDeviceDirectory(t *testing.T) {
+	testRequires(t, NativeExecDriver)
 	defer deleteAllContainers()
 	cmd := exec.Command(dockerBinary, "run", "--device", "/dev/snd:/dev/snd", "busybox", "sh", "-c", "ls /dev/snd/")