From 9ee0fa00b79d65b67e3733ef2043e4247661e841 Mon Sep 17 00:00:00 2001 From: Al Stone Date: Mar 16 2019 01:13:35 +0000 Subject: Collect all ACPI messages, then just ACPI error messages Signed-off-by: Al Stone --- diff --git a/Makefile b/Makefile index 400e495..f19532d 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ export TEST=/kernel/acpi/acpi-dmesg-task -export TESTVERSION=1.2 +export TESTVERSION=1.3 BUILT_FILES= diff --git a/runtest.sh b/runtest.sh index 75e122e..6f2f532 100755 --- a/runtest.sh +++ b/runtest.sh @@ -31,9 +31,15 @@ PACKAGE="acpi-dmesg-task" +echo "=== ALL ACPI MESSAGES" | tee -a $OUTPUTFILE journalctl -b 0 -o short-monotonic | grep -i acpi | \ grep -v "$PACKAGE" | tee -a $OUTPUTFILE +echo "" | tee -a $OUTPUTFILE +echo "=== ACPI ERROR MESSAGES ONLY" | tee -a $OUTPUTFILE +journalctl -b 0 -o short-monotonic | grep "ACPI Error" | \ + grep -v "$PACKAGE" | tee -a $OUTPUTFILE + echo "Test finished" | tee -a $OUTPUTFILE report_result $TEST PASS 0