Skip to content

Commit

Permalink
ts: fix man search tests when Modules already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelaruelle committed Nov 16, 2023
1 parent e7ae004 commit 17cc3e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testsuite/install.00-init/030-options.exp
Expand Up @@ -63,8 +63,9 @@ if {$install_setmanpath eq "y" && $install_builddoc ne "n"} {
}
unsetenv_var MANPATH
foreach shell $shell_list {
testall_cmd_re "$shell" "man -w modulefile" "$install_mandirre/man5/modulefile.*" {} 0
testall_cmd_re "$shell" "man -w module" "$install_mandirre/man1/module.*" {} 0
# ask for all man page locations to ensure finding ours rather others installed on the system
testall_cmd_re "$shell" "man -a -w modulefile" ".*$install_mandirre/man5/modulefile.*" {} 0
testall_cmd_re "$shell" "man -a -w module" ".*$install_mandirre/man1/module.*" {} 0
}
} elseif {$verbose} {
send_user "\tSkipping man pages availability checks\n"
Expand Down

0 comments on commit 17cc3e2

Please sign in to comment.