From patchwork Wed May 16 13:20:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [08/27] acpitables-0006: fix tests to work with new fwts logging Date: Wed, 16 May 2012 03:20:39 -0000 From: Colin King X-Patchwork-Id: 159658 Message-Id: <1337174459-21597-9-git-send-email-colin.king@canonical.com> To: fwts-devel@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Ivan Hu --- acpitables-0006/acpitables-0001.log | 6 +++--- acpitables-0006/test-0001.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/acpitables-0006/acpitables-0001.log b/acpitables-0006/acpitables-0001.log index 4a4fb66..4b8a1b3 100644 --- a/acpitables-0006/acpitables-0001.log +++ b/acpitables-0006/acpitables-0001.log @@ -1,5 +1,5 @@ acpitables ACPI table settings sanity checks. -acpitables --------------------------------------------------------- +acpitables ---------------------------------------------------------- acpitables Test 1 of 1: Check ACPI tables. acpitables Table APIC not present to check. acpitables Table ECDT not present to check. @@ -154,7 +154,7 @@ acpitables PASSED: Test 1, Table RSDP passed. acpitables Table SBST not present to check. acpitables PASSED: Test 1, Table XSDT passed. acpitables -acpitables ========================================================= +acpitables ========================================================== acpitables 2 passed, 18 failed, 0 warnings, 0 aborted, 0 skipped, 0 acpitables info only. -acpitables ========================================================= +acpitables ========================================================== diff --git a/acpitables-0006/test-0001.sh b/acpitables-0006/test-0001.sh index a9292ce..2036d3a 100755 --- a/acpitables-0006/test-0001.sh +++ b/acpitables-0006/test-0001.sh @@ -1,10 +1,10 @@ #!/bin/bash # -TEST="Test apcitables against broken ACPI RSDT table" +TEST="Test apcitables against broken ACPI RSDT table" NAME=test-0001.sh TMPLOG=$TMP/acpitables.log.$$ -$FWTS -w 80 --dumpfile=acpidump-0001.log acpitables - | grep "^[0-9]*[ ]*acpitables" | cut -c7- > $TMPLOG +$FWTS --log-format="%line %owner " -w 80 --dumpfile=acpidump-0001.log acpitables - | grep "^[0-9]*[ ]*acpitables" | cut -c7- > $TMPLOG diff $TMPLOG acpitables-0001.log >> $FAILURE_LOG ret=$? if [ $ret -eq 0 ]; then