summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-12 03:13:19 +0100
committerGitHub <noreply@github.com>2019-02-12 03:13:19 +0100
commit89237033fd38d91308ff7e5b9511aff41f44e0e8 (patch)
tree188ddbf1f914a3e3040c7fede6e27a5ab17af31a /cmd/podman
parentea20ead35b69b1259f2ff3b00f558c473a921b95 (diff)
parenta1ab6788e4df5cf270e99befdd69026e5d7fcd3a (diff)
downloadpodman-89237033fd38d91308ff7e5b9511aff41f44e0e8.tar.gz
podman-89237033fd38d91308ff7e5b9511aff41f44e0e8.tar.bz2
podman-89237033fd38d91308ff7e5b9511aff41f44e0e8.zip
Merge pull request #2300 from baude/cleanupurfave
Remove urfave/cli from libpod
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/common_test.go26
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 {