We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98ffa48 commit 536e308Copy full SHA for 536e308
1 file changed
.github/workflows/scripts/test_init_scripts.sh
@@ -52,6 +52,7 @@ for shell in ${SHELLS[@]}; do
52
# TEST 2: Source Script again in an subshell and check Module Output
53
expected_pattern=".*EESSI has selected $EESSI_SOFTWARE_SUBDIR_OVERRIDE as the compatible CPU target for EESSI/$EESSI_VERSION.*"
54
if [ "$shell" = "csh" ]; then
55
+ echo $($shell -c "source init/lmod/$shell > /dev/null 2>&1; $shell -c \"source init/lmod/$shell\"" 2>&1)
56
assert_raises "$shell -c 'source init/lmod/$shell > /dev/null 2>&1; $shell -c \"source init/lmod/$shell\"' 2>&1 | grep -E \"${expected_pattern}\""
57
else
58
assert_raises "$shell -c '. init/lmod/$shell > /dev/null 2>&1; $shell -c \". init/lmod/$shell\"' 2>&1 | grep -E \"${expected_pattern}\""
0 commit comments