mirror of
https://github.com/rancher/os.git
synced 2025-07-10 21:33:04 +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', '''
|
||||
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())
|
||||
|
Loading…
Reference in New Issue
Block a user