aboutsummaryrefslogtreecommitdiff
path: root/testsuite/launcher.all/help.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/launcher.all/help.exp')
-rw-r--r--testsuite/launcher.all/help.exp10
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuite/launcher.all/help.exp b/testsuite/launcher.all/help.exp
index 34eb68d..8e128f2 100644
--- a/testsuite/launcher.all/help.exp
+++ b/testsuite/launcher.all/help.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 2018 Free Software Foundation, Inc.
+# Copyright (C) 2018, 2021 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
@@ -21,10 +21,10 @@
# each element: { name args envars exit_code output_re... }
set tests {
{ "dejagnu help selects dejagnu(1) manpage"
- {help -v} {MANPAGER=echo} 0
+ {help -v} {MANPAGER=echo PAGER=echo} 0
"Forwarding to man \".*doc/dejagnu\\.1\"" }
{ "dejagnu help help selects dejagnu-help(1) manpage"
- {help -v help} {MANPAGER=echo} 0
+ {help -v help} {MANPAGER=echo PAGER=echo} 0
"Forwarding to man \".*doc/dejagnu-help\\.1\"" }
}
@@ -32,6 +32,10 @@ if { ![file isdirectory [file join [file dirname $LAUNCHER] commands]] } {
skip_dejagnu_launcher_tests \
"The 'commands' directory is not present in the source tree." \
unsupported $tests
+} elseif { [istarget *-*-solaris*] } {
+ skip_dejagnu_launcher_tests \
+ "The 'man' command in Solaris does not work in the source tree." \
+ unsupported $tests
} else {
run_dejagnu_launcher_tests $LAUNCHER $tests
}