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

integ-cli: Skip some exec tests requiring same-host daemon

This skips tests:
- `TestRunExecDir`
- `TestRunMutableNetworkFiles`

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
This commit is contained in:
Ahmet Alp Balkan 2015-02-24 15:44:36 -08:00
parent 1060a5334e
commit e6f88f091d

View file

@ -529,6 +529,7 @@ func TestLinksPingLinkedContainersOnRename(t *testing.T) {
}
func TestRunExecDir(t *testing.T) {
testRequires(t, SameHostDaemon)
cmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top")
out, _, err := runCommandWithOutput(cmd)
if err != nil {
@ -629,6 +630,7 @@ func TestRunExecDir(t *testing.T) {
}
func TestRunMutableNetworkFiles(t *testing.T) {
testRequires(t, SameHostDaemon)
defer deleteAllContainers()
for _, fn := range []string{"resolv.conf", "hosts"} {