We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d7b7e0 commit 347e810Copy full SHA for 347e810
tests/framework/utils.py
@@ -434,7 +434,8 @@ def assert_seccomp_level(pid, seccomp_level):
434
435
def run_guest_cmd(ssh_connection, cmd, expected, use_json=False):
436
"""Runs a shell command at the remote accessible via SSH"""
437
- _, stdout, stderr = ssh_connection.run(cmd)
+ rc, stdout, stderr = ssh_connection.run(cmd)
438
+ assert rc == 0
439
assert stderr == ""
440
stdout = stdout if not use_json else json.loads(stdout)
441
assert stdout == expected
0 commit comments