From 475e79b98e43c40cfb88a29bea97959fd52c0d99 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 10 Jun 2024 15:48:59 +0200 Subject: [PATCH] update testsuite --- usr/bin/archboot-testsuite.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-testsuite.sh b/usr/bin/archboot-testsuite.sh index c4a39216b..83ddfe101 100755 --- a/usr/bin/archboot-testsuite.sh +++ b/usr/bin/archboot-testsuite.sh @@ -60,9 +60,11 @@ else echo "Test run succesfully." fi echo "Pacman Package Database Test running..." -if ! archboot-not-installed.sh &>>"${_LOG}"; then +archboot-not-installed.sh &>>"${_LOG}" +grep -v base uninstalled.txt > uninstalled-error.txt +if [[ -f uninstalled-error.txt ]]; then echo "Test failed!" - cat uninstalled.txt + cat uninstalled-error.txt _TEST_FAIL=1 fi [[ -n "${_TEST_FAIL}" ]] && exit 1