1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/osl/sandbox_unsupported_test.go
David Calavera cc02894a50 Move test specific functions to a testutils package.
This way we won't vendor test related functions in docker anymore.
It also moves netns related functions to a new ns package to be able to
call the ns init function in tests. I think this also helps with the
overall package isolation.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-09-07 13:33:28 -04:00

18 lines
253 B
Go

// +build !linux
package osl
import (
"errors"
"testing"
)
var ErrNotImplemented = errors.New("not implemented")
func newKey(t *testing.T) (string, error) {
return nil, ErrNotImplemented
}
func verifySandbox(t *testing.T, s Sandbox) {
return
}