mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 21:51:33 +00:00
Fixes symlink, container size, and kmsg tests
Changes symlink, container size and kmsg tests to account for lxc driver. Signed-off-by: Abin Shahab <ashahab@altiscale.com> (github: ashahab-altiscale) Docker-DCO-1.1-Signed-off-by: Abin Shahab <ashahab@altiscale.com> (github: ashahab-altiscale)
This commit is contained in:
@@ -89,10 +89,22 @@ func TestDiffEnsureOnlyKmsgAndPtmx(t *testing.T) {
|
||||
deleteContainer(cleanCID)
|
||||
|
||||
expected := map[string]bool{
|
||||
"C /dev": true,
|
||||
"A /dev/full": true, // busybox
|
||||
"C /dev/ptmx": true, // libcontainer
|
||||
"A /dev/kmsg": true, // lxc
|
||||
"C /dev": true,
|
||||
"A /dev/full": true, // busybox
|
||||
"C /dev/ptmx": true, // libcontainer
|
||||
"A /dev/kmsg": true, // lxc
|
||||
"A /dev/fd": true,
|
||||
"A /dev/fuse": true,
|
||||
"A /dev/ptmx": true,
|
||||
"A /dev/null": true,
|
||||
"A /dev/random": true,
|
||||
"A /dev/stdout": true,
|
||||
"A /dev/stderr": true,
|
||||
"A /dev/tty1": true,
|
||||
"A /dev/stdin": true,
|
||||
"A /dev/tty": true,
|
||||
"A /dev/urandom": true,
|
||||
"A /dev/zero": true,
|
||||
}
|
||||
|
||||
for _, line := range strings.Split(out, "\n") {
|
||||
|
||||
Reference in New Issue
Block a user