123456789101112131415161718192021 |
- package integration
- import (
- "fmt"
- . "gopkg.in/check.v1"
- )
- func (s *QemuSuite) TestSharedMount(c *C) {
- err := s.RunQemu()
- c.Assert(err, IsNil)
- s.CheckCall(c, fmt.Sprintf(`
- set -x -e
- sudo mkdir /mnt/shared
- sudo touch /test
- sudo system-docker run --privileged -v /mnt:/mnt:shared -v /test:/test %s mount --bind / /mnt/shared
- ls /mnt/shared | grep test`, BusyboxImage))
- }
|