Skip to content

Commit 9383dbe

Browse files
committed
ts: ensure shell startup is not set when running tests
1 parent 982f662 commit 9383dbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testsuite/modules.00-init/010-environ.exp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ catch {unset env(MODULES_SEARCH_MATCH)}
7777
# clean any set shell startup config
7878
catch {unset env(MODULES_SET_SHELL_STARTUP)}
7979

80+
# ensure shell startup is not set
81+
unsetenv_var ENV
82+
unsetenv_var BASH_ENV
83+
8084
# clean any shells defined to get ksh fpath set
8185
catch {unset env(MODULES_SHELLS_WITH_KSH_FPATH)}
8286
catch {unset env(FPATH)}

0 commit comments

Comments
 (0)