Add test -short for non-integration tests

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-05-24 16:05:24 -07:00
parent 01c4c86414
commit 8cd882c570
5 changed files with 47 additions and 40 deletions

View File

@@ -57,7 +57,7 @@ func defaultNamespaces() []specs.LinuxNamespace {
}
}
func createDefaultSpec(id string) (*specs.Spec, error) {
func createDefaultSpec() (*specs.Spec, error) {
s := &specs.Spec{
Version: specs.Version,
Platform: specs.Platform{
@@ -67,7 +67,6 @@ func createDefaultSpec(id string) (*specs.Spec, error) {
Root: specs.Root{
Path: defaultRootfsPath,
},
Hostname: id,
Process: specs.Process{
Cwd: "/",
NoNewPrivileges: true,