Skip to content

Commit

Permalink
Possible workaround for some corner cases in `test_bad_userspace_runt…
Browse files Browse the repository at this point in the history
…ime`
  • Loading branch information
jmfernandez committed Aug 23, 2023
1 parent 12f5196 commit 1918418
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,9 @@ def test_bad_userspace_runtime(factor: str) -> None:
)
error_code, stdout, stderr = get_main_output(commands)
stderr = re.sub(r"\s\s+", " ", stderr)
assert "or quaquioN is missing or broken" in stderr, stderr
assert ("or quaquioN is missing or broken" in stderr) or (
"No such file or directory: 'quaquioN'" in stderr
), stderr
assert error_code == 1


Expand Down

0 comments on commit 1918418

Please sign in to comment.