diff options
author | baude <bbaude@redhat.com> | 2019-02-08 20:09:04 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-11 17:48:34 -0600 |
commit | a1ab6788e4df5cf270e99befdd69026e5d7fcd3a (patch) | |
tree | 62620c54b77201acd5ed578c3ab8b55da8f6ac6a /cmd/podman/common_test.go | |
parent | 54a5584d84d37632c1c8480d437a012625526a84 (diff) | |
download | podman-a1ab6788e4df5cf270e99befdd69026e5d7fcd3a.tar.gz podman-a1ab6788e4df5cf270e99befdd69026e5d7fcd3a.tar.bz2 podman-a1ab6788e4df5cf270e99befdd69026e5d7fcd3a.zip |
Remove urfave/cli from libpod
This is the final cleanup to remove urfave/sli from libpod. Removed
old, disabled tests that have not been run in over a year.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/common_test.go')
-rw-r--r-- | cmd/podman/common_test.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/cmd/podman/common_test.go b/cmd/podman/common_test.go index 042568d7e..a24173003 100644 --- a/cmd/podman/common_test.go +++ b/cmd/podman/common_test.go @@ -3,34 +3,8 @@ package main import ( "os/user" "testing" - - "flag" - - "github.com/urfave/cli" ) -func TestGetStore(t *testing.T) { - t.Skip("FIX THIS!") - - //cmd/podman/common_test.go:27: cannot use c (type *cli.Context) as type *libkpod.Config in argument to getStore - - // Make sure the tests are running as root - skipTestIfNotRoot(t) - - set := flag.NewFlagSet("test", 0) - globalSet := flag.NewFlagSet("test", 0) - globalSet.String("root", "", "path to the root directory in which data, including images, is stored") - globalCtx := cli.NewContext(nil, globalSet, nil) - command := cli.Command{Name: "imagesCommand"} - c := cli.NewContext(nil, set, globalCtx) - c.Command = command - - //_, err := getStore(c) - //if err != nil { - //t.Error(err) - //} -} - func skipTestIfNotRoot(t *testing.T) { u, err := user.Current() if err != nil { |