1
0
mirror of https://github.com/rancher/os.git synced 2025-09-09 02:31:36 +00:00

cleanup tests using SSH

This commit is contained in:
Ivan Mikushin
2016-03-31 18:56:18 -07:00
parent 2dd57c5f3a
commit e2f3ac78a7
6 changed files with 31 additions and 29 deletions

View File

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