1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

fix device test on lxc...
This commit is contained in:
Tibor Vass 2015-04-02 16:00:39 -04:00
commit 42c7855014

View file

@ -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/")