Set TERM environment variable for SCR tests
The SCR functions use the presence of $TERM
to decide if to use Unix (vt100) or DOS codes for the graphics parts.
Since $TERM
is not set in the nightlies (there's not terminal), we get bad codes in stdout, and errors in the tests from bad handling unicode sequences.
This MR sets the TERM
environment variable only for the tests.