Skip to content

Commit

Permalink
fix broken test_extensions_sanity_check which was hardcoding /bin/bas…
Browse files Browse the repository at this point in the history
…h in expected error message
  • Loading branch information
boegel committed Jan 17, 2024
1 parent a796156 commit 0b68c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ def test_extensions_sanity_check(self):
eb.silent = True
error_pattern = r"Sanity check failed: extensions sanity check failed for 1 extensions: toy\n"
error_pattern += r"failing sanity check for 'toy' extension: "
error_pattern += r'command "thisshouldfail" failed; output:\n/bin/bash:.* thisshouldfail: command not found'
error_pattern += r'command "thisshouldfail" failed; output:\n.* thisshouldfail: command not found'
with self.mocked_stdout_stderr():
self.assertErrorRegex(EasyBuildError, error_pattern, eb.run_all_steps, True)

Expand Down

0 comments on commit 0b68c30

Please sign in to comment.