Skip to content

Commit 536e308

Browse files
committed
Add a debug statement
1 parent 98ffa48 commit 536e308

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/scripts/test_init_scripts.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ for shell in ${SHELLS[@]}; do
5252
# TEST 2: Source Script again in an subshell and check Module Output
5353
expected_pattern=".*EESSI has selected $EESSI_SOFTWARE_SUBDIR_OVERRIDE as the compatible CPU target for EESSI/$EESSI_VERSION.*"
5454
if [ "$shell" = "csh" ]; then
55+
echo $($shell -c "source init/lmod/$shell > /dev/null 2>&1; $shell -c \"source init/lmod/$shell\"" 2>&1)
5556
assert_raises "$shell -c 'source init/lmod/$shell > /dev/null 2>&1; $shell -c \"source init/lmod/$shell\"' 2>&1 | grep -E \"${expected_pattern}\""
5657
else
5758
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

Comments
 (0)