mirror of
https://github.com/rancher/os.git
synced 2025-07-10 13:23: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:
parent
6617eab12f
commit
445c510dee
@ -14,6 +14,6 @@ def test_system_docker_survives_custom_docker_install(qemu):
|
|||||||
SSH(qemu).check_call('bash', '-c', '''
|
SSH(qemu).check_call('bash', '-c', '''
|
||||||
set -x -e
|
set -x -e
|
||||||
mkdir x
|
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 ]
|
[ -d x/ros_subdir/home/rancher ]
|
||||||
'''.strip())
|
'''.strip())
|
||||||
|
Loading…
Reference in New Issue
Block a user