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

IvanHu ivan.hu at canonical.com
Tue Feb 17 07:50:27 UTC 2015


On 02/05/2015 06:23 PM, Colin King wrote:
> 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
>

Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list