[PATCH 21/27] syntaxcheck-0001: fix tests to work with new fwts logging

Colin King colin.king at canonical.com
Wed May 16 13:20:52 UTC 2012


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

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 syntaxcheck-0001/syntaxcheck-0001.log |    6 +++---
 syntaxcheck-0001/test-0001.sh         |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/syntaxcheck-0001/syntaxcheck-0001.log b/syntaxcheck-0001/syntaxcheck-0001.log
index 6d7af0e..744a9ff 100644
--- a/syntaxcheck-0001/syntaxcheck-0001.log
+++ b/syntaxcheck-0001/syntaxcheck-0001.log
@@ -1,5 +1,5 @@
 syntaxcheck     Re-assemble DSDT and find syntax errors and warnings.
-syntaxcheck     ---------------------------------------------------------
+syntaxcheck     ----------------------------------------------------------
 syntaxcheck     Test 1 of 2: Disassemble and reassemble DSDT
 syntaxcheck     PASSED: Test 1, DSDT (0) reassembly, Found 0 errors, 0
 syntaxcheck     warnings.
@@ -16,7 +16,7 @@ syntaxcheck     warnings.
 syntaxcheck     PASSED: Test 2, SSDT (4) reassembly, Found 0 errors, 0
 syntaxcheck     warnings.
 syntaxcheck     
-syntaxcheck     =========================================================
+syntaxcheck     ==========================================================
 syntaxcheck     6 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0
 syntaxcheck     info only.
-syntaxcheck     =========================================================
+syntaxcheck     ==========================================================
diff --git a/syntaxcheck-0001/test-0001.sh b/syntaxcheck-0001/test-0001.sh
index 09d1576..231e314 100755
--- a/syntaxcheck-0001/test-0001.sh
+++ b/syntaxcheck-0001/test-0001.sh
@@ -4,7 +4,7 @@ TEST="Test syntaxcheck against known correct ACPI tables"
 NAME=test-0001.sh
 TMPLOG=$TMP/syntaxcheck.log.$$
 
-$FWTS -w 80 --dumpfile=acpidump-0001.log syntaxcheck - | grep "^[0-9]*[ ]*syntaxcheck" | cut -c7- > $TMPLOG
+$FWTS --log-format="%line %owner " -w 80 --dumpfile=acpidump-0001.log syntaxcheck - | grep "^[0-9]*[ ]*syntaxcheck" | cut -c7- > $TMPLOG
 diff $TMPLOG syntaxcheck-0001.log >> $FAILURE_LOG
 ret=$?
 if [ $ret -eq 0 ]; then 
-- 
1.7.10





More information about the fwts-devel mailing list