1
0
mirror of https://github.com/rancher/os.git synced 2025-07-10 05:13:03 +00:00

fix the testcase: add sudo to ros dev command

Signed-off-by: Wang Long <long.wanglong@huawei.com>
This commit is contained in:
Wang Long 2016-03-16 18:41:54 +08:00
parent 6617eab12f
commit 445c510dee

View File

@ -14,6 +14,6 @@ def test_system_docker_survives_custom_docker_install(qemu):
SSH(qemu).check_call('bash', '-c', '''
set -x -e
mkdir x
sudo mount $(ros dev LABEL=RANCHER_STATE) x
sudo mount $(sudo ros dev LABEL=RANCHER_STATE) x
[ -d x/ros_subdir/home/rancher ]
'''.strip())