1
0
mirror of https://github.com/rancher/os.git synced 2025-06-22 13:07:04 +00:00
os/tests/subdir_test.go
2016-10-23 16:23:30 -07:00

13 lines
276 B
Go

package integration
import . "gopkg.in/check.v1"
func (s *QemuSuite) TestSubdir(c *C) {
s.RunQemu(c, "--append", "rancher.state.directory=ros_subdir")
s.CheckCall(c, `
set -x -e
mkdir x
sudo mount $(sudo ros dev LABEL=RANCHER_STATE) x
[ -d x/ros_subdir/home/rancher ]`)
}