]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: explicitly set TERM=linux for TEST-69-SHUTDOWN
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 3 Mar 2024 16:15:23 +0000 (17:15 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 3 Mar 2024 20:12:43 +0000 (21:12 +0100)
commit7a63c5e550d06659096d858dc14dda04726311fa
tree082d4e5b6f735fab88d3193d9032fe327b2786f1
parent85b774de49caff8be819f021740dd680ba76ab77
test: explicitly set TERM=linux for TEST-69-SHUTDOWN

sulogin from the latest util-linux started falling back to vt102 instead
of linux, which makes screen sad (because we install only the linux
terminfo into the test image) and expect trips over the unexpected
warning. Let's just explicitly set TERM=linux before invoking screen to
avoid this.

+ make -C TEST-69-SHUTDOWN setup run
...
INFO:test-shutdown:log in and start screen
root
root
Last login: Sun Mar  3 13:19:31 from 18.191.105.60
-bash-5.2# screen
screen
Cannot find terminfo entry for 'vt102'.
-bash-5.2# ERROR:test-shutdown:Timeout exceeded.
test/TEST-69-SHUTDOWN/test.sh