summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/create_cli_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/shared/create_cli_test.go')
-rw-r--r--cmd/podman/shared/create_cli_test.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/cmd/podman/shared/create_cli_test.go b/cmd/podman/shared/create_cli_test.go
deleted file mode 100644
index a045962cb..000000000
--- a/cmd/podman/shared/create_cli_test.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package shared
-
-import (
- "testing"
-
- "github.com/stretchr/testify/assert"
-)
-
-func TestValidateSysctl(t *testing.T) {
- strSlice := []string{"net.core.test1=4", "kernel.msgmax=2"}
- result, _ := validateSysctl(strSlice)
- assert.Equal(t, result["net.core.test1"], "4")
-}
-
-func TestValidateSysctlBadSysctl(t *testing.T) {
- strSlice := []string{"BLAU=BLUE", "GELB^YELLOW"}
- _, err := validateSysctl(strSlice)
- assert.Error(t, err)
-}