1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

Add a test for the non-tar b2d autoformat trigger

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-01-20 11:00:48 +10:00
parent 48acef5336
commit 1c5d41a56e
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package integration
import . "gopkg.in/check.v1"
func (s *QemuSuite) TestBoot2DockerState(c *C) {
s.RunQemu(c, "--fresh", "--b2d")
s.CheckCall(c, "blkid | grep B2D_STATE")
// 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
}
func (s *QemuSuite) TestIsoBoot2DockerState(c *C) {
s.RunQemu(c, "--fresh", "--b2d", "--iso")
s.CheckCall(c, "blkid | grep B2D_STATE")
// 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
}
func (s *QemuSuite) TestRancherOSState(c *C) {
s.RunQemu(c, "--fresh")
s.CheckCall(c, "blkid | grep RANCHER_STATE")
}