Skip to content

Commit 8451bfd

Browse files
committed
ts: adapt 50/620 test for OSX CI environment
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 16f4918 commit 8451bfd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

testsuite/modules.50-cmds/620-source_cache.exp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ set ts_load [msg_load source/1.0 [msg_moderr {msg} {error msg} $mp/source/1.0 27
219219
setenv_var MODULES_SOURCE_CACHE 0
220220
testouterr_cmd bash {load source/1.0} ERR $ts_load
221221

222-
set custom_load " invoked from within
222+
set custom_load "<EXM> invoked from within
223223
\"source \[file dirname \$ModulesCurrentModulefile\]/source_file\""
224-
set ts_load [msg_load source/1.0 [msg_moderr {msg} {error msg} $mp/source/1.0 27 {} {} {} $custom_load]]
224+
set ts_load [escre [msg_load source/1.0 [msg_moderr {msg} {error msg} $mp/source/1.0 27 {} {} {} $custom_load]]]
225225
setenv_var MODULES_SOURCE_CACHE 1
226-
testouterr_cmd bash {load source/1.0} ERR $ts_load
226+
testouterr_cmd_re bash {load source/1.0} ERR $ts_load
227227

228228
}
229229

@@ -283,10 +283,10 @@ testouterr_cmd bash {avail -t source} OK $ts_avail
283283

284284
if {[cmpversion $tclsh_version 8.6] > -1} {
285285

286-
set custom_load " invoked from within
286+
set custom_load "<EXM> invoked from within
287287
\"source \[file dirname \$ModulesCurrentModulefile\]/source_file\""
288-
set ts_load [msg_moderr {msg} {error msg} $mp/source/.modulerc 14 { } {} {} $custom_load]
289-
testouterr_cmd bash {load source/1.0} $ans_load $ts_load
288+
set ts_load [escre [msg_moderr {msg} {error msg} $mp/source/.modulerc 14 { } {} {} $custom_load]]
289+
testouterr_cmd_re bash {load source/1.0} $ans_load $ts_load
290290

291291
}
292292

0 commit comments

Comments
 (0)