From: Frantisek Sumsal Date: Sun, 17 Apr 2022 17:49:17 +0000 (+0200) Subject: test: resize the terminal automagically with INTERACTIVE_DEBUG=yes X-Git-Tag: v252-rc1~737^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17082e8ac1b5335465876d100774893ba735fca4;p=thirdparty%2Fsystemd.git test: resize the terminal automagically with INTERACTIVE_DEBUG=yes --- diff --git a/test/test-functions b/test/test-functions index fde174913c3..d5572ecd6c9 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1748,14 +1748,12 @@ install_debug_tools() { local getty_override="${initdir:?}/etc/systemd/system/serial-getty@.service.d" mkdir -p "$getty_override" echo -e "[Service]\nEnvironment=TERM=linux" >"$getty_override/default-TERM.conf" + echo 'export TERM=linux' >>"$initdir/etc/profile" - cat >"$initdir/etc/motd" </dev/null; then + image_install resize + echo "resize" >>"$initdir/etc/profile" + fi fi }