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

Keng-Yu Lin keng-yu.lin at canonical.com
Mon Feb 9 06:26:51 UTC 2015


On Thu, Feb 5, 2015 at 6:23 PM, Colin King <colin.king at canonical.com> 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
> --
> 2.1.4
>
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list