mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
change dmesg check to journal check
This commit is contained in:
parent
77e5a12bca
commit
77794a2600
1 changed files with 4 additions and 4 deletions
|
@ -27,12 +27,12 @@ _result() {
|
|||
_archboot_check
|
||||
echo "Waiting for pacman keyring..."
|
||||
_pacman_keyring
|
||||
_run_test "dmesg"
|
||||
if dmesg | grep -q -w -E 'error'; then
|
||||
dmesg | grep -w -E 'error' >>dmesg-error.txt
|
||||
_run_test "journal"
|
||||
if ! journalctl -p3 -xb | grep -q -w -E '-- No Entries --'; then
|
||||
journalctl -p3 -xb >>journal-error.txt
|
||||
_TEST_FAIL=1
|
||||
fi
|
||||
_result dmesg-error.txt
|
||||
_result journal-error.txt
|
||||
_run_test "ldd on /usr/bin"
|
||||
for i in /usr/bin/*; do
|
||||
if ldd "${i}" 2>"${_NO_LOG}" | grep -q 'not found'; then
|
||||
|
|
Loading…
Reference in a new issue