1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

My first pass at fixing the b2d autoformat

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-01-20 17:02:48 +10:00
parent 1c5d41a56e
commit a4e77692c4
6 changed files with 33 additions and 5 deletions

View File

@@ -2,6 +2,8 @@ package integration
import . "gopkg.in/check.v1"
// NOTE: the boot2docker magic string/tar file is also used by Docker-machine
func (s *QemuSuite) TestBoot2DockerState(c *C) {
s.RunQemu(c, "--fresh", "--b2d")
s.CheckCall(c, "blkid | grep B2D_STATE")
@@ -12,6 +14,8 @@ func (s *QemuSuite) TestBoot2DockerState(c *C) {
func (s *QemuSuite) TestIsoBoot2DockerState(c *C) {
s.RunQemu(c, "--fresh", "--b2d", "--iso")
s.CheckCall(c, "blkid | grep B2D_STATE")
s.CheckCall(c, "sudo ros config get rancher.state.dev | grep LABEL=B2D_STATE")
s.CheckCall(c, "sudo ros config get rancher.state.autoformat | grep vda")
// And once I make run create a tar file, check that its untarred in the docker user's home dir
// And confirm if it should add to the dir, or replace, i can't remember
}