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

13 lines
276 B
Go
Raw Normal View History

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