Skip to content

Commit 28d8a25

Browse files
committed
ts: fix loaded env for transitive test in 20/068
1 parent b599861 commit 28d8a25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testsuite/modules.20-locate/068-transitive.exp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,9 @@ for {set i 1} {$i <= 30} {incr i} {
372372
testouterr_cmd "sh" "unload $modsym" $ans "$modwarn"
373373
}
374374

375+
unsetenv_loaded_module
376+
unsetenv_var __MODULES_LMALTNAME
377+
375378
# transitive symbol sets from a distant module (different name) cannot
376379
# be resolved when queyring target module name
377380
set modsym "loc_tr/trbar"

0 commit comments

Comments
 (0)