From 0b68c30ab63f3ce8ed21adb3eb33105c60b2adf2 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 17 Jan 2024 14:06:53 +0100 Subject: [PATCH] fix broken test_extensions_sanity_check which was hardcoding /bin/bash in expected error message --- test/framework/easyblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/framework/easyblock.py b/test/framework/easyblock.py index 9f656573d1..40ed5f692a 100644 --- a/test/framework/easyblock.py +++ b/test/framework/easyblock.py @@ -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)