From 110b7d4e401189926313b7d0f28ceaf5f22a5be6 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 14 Jul 2024 08:42:46 +0200 Subject: [PATCH] shorten testsuite output --- usr/bin/archboot-testsuite.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-testsuite.sh b/usr/bin/archboot-testsuite.sh index 39631680b..3e3cd4ff5 100755 --- a/usr/bin/archboot-testsuite.sh +++ b/usr/bin/archboot-testsuite.sh @@ -37,14 +37,14 @@ if ! journalctl -p3 -xb | rg -q 'No entries'; then fi _result journal-error.txt _run_test "ldd" -echo "/usr/bin " +echo -n "/usr/bin " for i in /usr/bin/*; do if ldd "${i}" 2>"${_NO_LOG}" | rg -q 'not found'; then echo "${i}" >>bin-binary-error.txt ldd "${i}" | rg 'not found' >>ldd-error.txt fi done -echo -n "/usr/lib" +echo -n "/usr/lib " for i in $(fd -u -t x -E '*.so.*' -E '*.so' -E 'ssh-sk-helper' . /usr/lib); do if ldd "${i}" 2>"${_NO_LOG}" | rg -q 'not found'; then echo "${i}" >>lib-binary-error.txt