1
0
mirror of https://github.com/rancher/os.git synced 2025-09-05 16:52:20 +00:00

Fix ros dev panic

This commit is contained in:
Darren Shepherd
2016-02-04 09:25:36 -07:00
parent ce915927be
commit 28bd8b0ccb
2 changed files with 19 additions and 1 deletions

View File

@@ -31,3 +31,18 @@ def test_run_system_container(qemu):
ssh.wait()
assert ssh.returncode == 0
@pytest.mark.timeout(60)
def test_ros_dev(qemu):
u.wait_for_ssh(qemu)
ssh = subprocess.Popen(
'./scripts/ssh --qemu sudo ros dev',
shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
for ln in u.iter_lines(ssh.stdout):
print(ln)
ssh.wait()
assert ssh.returncode == 0