Skip to content

Commit

Permalink
relax error pattern used in test_run_shell_cmd_delete_cwd so test als…
Browse files Browse the repository at this point in the history
…o works on macOS
  • Loading branch information
boegel committed Sep 23, 2024
1 parent 621c598 commit bdf7571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,7 @@ def test_run_shell_cmd_delete_cwd(self):
f"rm -rf {workdir} && echo 'Working directory removed.'"
)

error_pattern = rf"Failed to return to {workdir} after executing command"
error_pattern = rf"Failed to return to .*/{os.path.basename(self.test_prefix)}/workdir after executing command"

mkdir(workdir, parents=True)
with self.mocked_stdout_stderr():
Expand Down

0 comments on commit bdf7571

Please sign in to comment.