We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f290d commit 8f02a60Copy full SHA for 8f02a60
testsuite/is_module_defined
@@ -0,0 +1,2 @@
1
+#!/bin/bash
2
+type module >/dev/null 2>&1
testsuite/modules.00-init/005-init_ts.exp
@@ -681,7 +681,7 @@ unset orig_perms
681
unset new_perms
682
683
# check if module command is defined prior running tests
684
-set is_modules_defined [info exists ::env(MODULES_CMD)]
+set is_modules_defined [expr {![catch {exec $env(TESTSUITEDIR)/is_module_defined}]}]
685
686
# check if symbolic link registered in git repository have been effectively
687
# created as symbolic link to determine if they are supported on filesystem
0 commit comments