summaryrefslogtreecommitdiff
path: root/libpod/test_common.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-03-07 12:24:56 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-08 16:40:21 +0000
commitc657511bce7bc1c5da4b5554a4850aa4046711b0 (patch)
tree7f369caa423e86e7a5751abc433f7052a019374b /libpod/test_common.go
parentfcc36633557fd52daa2f48dbeb991d89fd5645bc (diff)
downloadpodman-c657511bce7bc1c5da4b5554a4850aa4046711b0.tar.gz
podman-c657511bce7bc1c5da4b5554a4850aa4046711b0.tar.bz2
podman-c657511bce7bc1c5da4b5554a4850aa4046711b0.zip
Add location in DB for saving files to bind mount in
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #462 Approved by: baude
Diffstat (limited to 'libpod/test_common.go')
-rw-r--r--libpod/test_common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/test_common.go b/libpod/test_common.go
index 75d9516b1..69dcf70ac 100644
--- a/libpod/test_common.go
+++ b/libpod/test_common.go
@@ -67,6 +67,10 @@ func getTestContainer(id, name, locksDir string) (*Container, error) {
PID: 46765,
},
},
+ BindMounts: map[string]string{
+ "/1/2/3": "/4/5/6",
+ "/test/file.test": "/test2/file2.test",
+ },
},
valid: true,
}