log to tty11 to see progress

This commit is contained in:
Tobias Powalowski 2024-07-18 11:46:31 +02:00
parent 3c7bb4181f
commit 486b21660b

View file

@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# created by Tobias Powalowski <tpowa@archlinux.org>
. /usr/lib/archboot/common.sh
_LOG="testsuite.log"
_LOG="/dev/tty11"
_APPNAME=${0##*/}
_LOOP="/dev/loop0"
_IMG="/test.img"
@ -163,7 +163,7 @@ sleep 10
_run_test "none tracked files in /usr/lib... this takes a while"
for i in $(fd -u -E '/modules/' -E '/udev/' -E 'gconv-modules.cache' -E 'locale-archive' . /usr/lib); do
#shellcheck disable=SC2086
pacman -Qo ${i} &>${_NO_LOG} || echo ${i} >> pacman-error.log
pacman -Qo ${i} &>"${_NO_LOG}" || echo ${i} >> pacman-error.log
done
_result pacman-error.log
echo -e "Starting pacman database check in \e[1m10\e[m seconds... \e[1;92mCTRL-C\e[m to stop now."