[PATCH 0/3] Fix s3/s4 tests so they do not clean the kernel log (LP: #1262208)

Colin King colin.king at canonical.com
Wed Dec 18 14:19:15 UTC 2013


From: Colin Ian King <colin.king at canonical.com>

This patchset removes the kernel log clearing function and adds a new
helper to compare old vs new kernel logs.  The ACPI s3 and s4 tests now
user this helper to be able to find new kernel log changes during suspend or
hibernate rather than needing to clear the log each test cycle.

Colin Ian King (3):
  lib: klog: add fwts_klog_find_changes to compare klogs
  acpi: s3: do kernel log comparisons without destroying klog
  acpi: s4: do kernel log comparisons without destroying klog

 src/acpi/s3/s3.c            | 36 +++++++++++++++-----------------
 src/acpi/s4/s4.c            | 49 ++++++++++++++++++++++---------------------
 src/lib/include/fwts_klog.h |  2 +-
 src/lib/src/fwts_klog.c     | 51 +++++++++++++++++++++++++++++++++++++++------
 4 files changed, 88 insertions(+), 50 deletions(-)

-- 
1.8.5.1




More information about the fwts-devel mailing list