summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorUrvashi Mohnani <umohnani@redhat.com>2018-12-03 15:26:58 +0000
committerUrvashi Mohnani <umohnani@redhat.com>2018-12-06 10:17:23 +0000
commit375831e97693af4d894cf647af4dad57ef21948d (patch)
treeeee78d8691a51d1960a701d8c029d5fbeb11b557 /libpod
parent4c70b8a94b22b31e2c39ee710dcc21cc2f3fb337 (diff)
downloadpodman-375831e97693af4d894cf647af4dad57ef21948d.tar.gz
podman-375831e97693af4d894cf647af4dad57ef21948d.tar.bz2
podman-375831e97693af4d894cf647af4dad57ef21948d.zip
Tests for podman volume commands
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/common_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/common_test.go b/libpod/common_test.go
index b7fee2764..81c8f1920 100644
--- a/libpod/common_test.go
+++ b/libpod/common_test.go
@@ -74,6 +74,11 @@ func getTestContainer(id, name, locksDir string) (*Container, error) {
"/test/file.test": "/test2/file2.test",
},
},
+ runtime: &Runtime{
+ config: &RuntimeConfig{
+ VolumePath: "/does/not/exist/tmp/volumes",
+ },
+ },
valid: true,
}