Skip to content

Commit 26bf9be

Browse files
committed
ts: adapt existing tests for new paginate config opt
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
1 parent b40bac6 commit 26bf9be

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

testsuite/modules.00-init/120-siteconfig.exp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ proc test_getSiteConfig {siteconfig isvalid islocked} {
5959
lappend ans "DEBUG setConf: term_background set to '$::install_termbg'"
6060
lappend ans "(DEBUG initConfColors: Ignore invalid default.*\\n)?DEBUG setConf: colors set to '.*'"
6161
lappend ans "DEBUG setConf: color set to '0'"
62-
lappend ans "DEBUG setConf: pager set to '$::install_pagercmd'"
63-
if {$::pager_dfl_use} {
64-
lappend ans "DEBUG setState: shelltype set to 'sh'"
65-
}
62+
lappend ans "DEBUG setConf: paginate set to '0'"
6663
lappend ans "DEBUG setState: paginate set to '0'"
6764
lappend ans "DEBUG setState: report_format set to 'regular'"
6865
lappend ans "DEBUG setState: reportfd set to 'stderr'"
@@ -106,6 +103,7 @@ lappend ans "DEBUG setConf: verbosity set to 'debug'"
106103
lappend ans "DEBUG setConf: term_background set to '$install_termbg'"
107104
lappend ans "(DEBUG initConfColors: Ignore invalid default.*\\n)?DEBUG setConf: colors set to '.*'"
108105
lappend ans "DEBUG setConf: color set to '0'"
106+
lappend ans "DEBUG setConf: paginate set to '1'"
109107
lappend ans "DEBUG setConf: pager set to '$install_pagercmd'"
110108
if {$pager_dfl_use} {
111109
lappend ans "DEBUG setState: shelltype set to 'sh'"

testsuite/modules.00-init/150-access-init.exp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ if {[info exists tclextlib_file]} {
5353
lappend ans "DEBUG setConf: term_background set to '$install_termbg'"
5454
lappend ans "(DEBUG initConfColors: Ignore invalid default.*\\n)?DEBUG setConf: colors set to '.*'"
5555
lappend ans "DEBUG setConf: color set to '0'"
56-
lappend ans "DEBUG setConf: pager set to '$install_pagercmd'"
57-
lappend ans "DEBUG setState: shelltype set to 'sh'"
56+
lappend ans "DEBUG setConf: paginate set to '0'"
5857
lappend ans "DEBUG setState: paginate set to '0'"
5958
lappend ans "DEBUG setState: report_format set to 'regular'"
6059
lappend ans "DEBUG setState: reportfd set to 'stderr'"

0 commit comments

Comments
 (0)