Skip to contentSkip to conversation

terminfo test regression

PATCH Colin Watson 2 participants 2 messages Jan 6, 2011

lore
Share & tools
lore
#0 lore raw

Hi Vladimir,

Your terminfo_cls change has regressed 'make check', because now all the shell output has \e[H\e[J in front of it. How do you want to go about fixing that? This looks plausible and passes the tests:

2011-01-06 Colin Watson <[email protected]>

* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to avoid causing test failures by clearing the screen.

=== modified file 'tests/util/grub-shell.in'

util/grub-shell.in +1 -0
@@ -119,6 +119,7 @@ cat <<EOF >${cfgfile}
 grubshell=yes
 insmod serial
 serial
+terminfo serial dumb
 terminal_input serial
 terminal_output serial
 EOF

Thanks,

Signature · 1 line
Colin Watson                                       [[email protected]]
#1 lore raw
Quoted 12 lines · Colin Watson

Hi Vladimir,

Your terminfo_cls change has regressed 'make check', because now all the shell output has \e[H\e[J in front of it. How do you want to go about fixing that? This looks plausible and passes the tests:

2011-01-06 Colin Watson <[email protected]>

* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to avoid causing test failures by clearing the screen.

Go ahead.

Quoted 15 lines

=== modified file 'tests/util/grub-shell.in'

util/grub-shell.in +1 -0
@@ -119,6 +119,7 @@ cat <<EOF >${cfgfile}
 grubshell=yes
 insmod serial
 serial
+terminfo serial dumb
 terminal_input serial
 terminal_output serial
 EOF

Thanks,

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko