[PATCH 2/2] fwts-test: disassemble-0001: ignore any copyright year changes

Colin King colin.king at canonical.com
Thu Feb 5 10:23:10 UTC 2015


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

The test was failing because of ACPICA copyright year changing, so
filter this out on the test comparisons.

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 fwts-test/disassemble-0001/test-0001.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fwts-test/disassemble-0001/test-0001.sh b/fwts-test/disassemble-0001/test-0001.sh
index 4d962b0..a4f95f2 100755
--- a/fwts-test/disassemble-0001/test-0001.sh
+++ b/fwts-test/disassemble-0001/test-0001.sh
@@ -25,8 +25,8 @@ do
 	#
 	#  Remove lines that contain a tmp file output name in disassembly
 	#
-	grep -v "/tmp/fwts_" $TMPDIR/$I.dsl | grep -v "Disassembler version" | grep -v "Disassembly of" > $TMPDIR/$I.dsl.fixed.$$
-	grep -v "/tmp/fwts_" $HERE/$I.dsl.original | grep -v "Disassembler version" | grep -v "Disassembly of" > $TMPDIR/$I.dsl.orig.fixed.$$
+	grep -v "/tmp/fwts_" $TMPDIR/$I.dsl | grep -v "Disassembler version" | grep -v "Disassembly of"  | grep -v "Copyright" > $TMPDIR/$I.dsl.fixed.$$
+	grep -v "/tmp/fwts_" $HERE/$I.dsl.original | grep -v "Disassembler version" | grep -v "Disassembly of" | grep -v "Copyright" > $TMPDIR/$I.dsl.orig.fixed.$$
 	
 	diff $TMPDIR/$I.dsl.fixed.$$ $TMPDIR/$I.dsl.orig.fixed.$$
 	if [ $? -eq 0 ]; then 
-- 
2.1.4




More information about the fwts-devel mailing list