mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
cc02894a50
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>
18 lines
253 B
Go
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
|
|
}
|