Skip to content

Commit 98ffa48

Browse files
committed
Not an interactive shell in the test
1 parent 8129c9f commit 98ffa48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/scripts/test_init_scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ for shell in ${SHELLS[@]}; do
4949
assert_raises "$shell -c '. init/lmod/$shell' 2>&1 | grep -E \"${expected_pattern}\""
5050
fi
5151

52-
# TEST 2: Source Script again in an interactive shell and check Module Output
52+
# 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
5555
assert_raises "$shell -c 'source init/lmod/$shell > /dev/null 2>&1; $shell -c \"source init/lmod/$shell\"' 2>&1 | grep -E \"${expected_pattern}\""

0 commit comments

Comments
 (0)