[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bios-tables-test: do not ignore allowed diff list
From: |
Ani Sinha |
Subject: |
Re: [PATCH] bios-tables-test: do not ignore allowed diff list |
Date: |
Thu, 27 Oct 2022 21:01:45 +0530 |
On Thu, Oct 27, 2022 at 8:41 PM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> we had such a beautiful structure for updating
> expected files, designed to keep bisect working.
> It turns out that we ignored the result of
> the allow list checks unless all tables matched
> anyway.
Doh! Seems the bug is present from the beginning?
>
> Sigh.
>
> Let's at least make it work going forward.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Fixes: df7cafdeb68b6572fa81 ("bios-tables-test: list all tables that differ")
other than that,
Reviewed-by: Ani Sinha <ani@anisinha.ca>
> ---
> tests/qtest/bios-tables-test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
> index e6096e7f73..a72f6ca326 100644
> --- a/tests/qtest/bios-tables-test.c
> +++ b/tests/qtest/bios-tables-test.c
> @@ -458,7 +458,7 @@ static void test_acpi_asl(test_data *data)
> "for instructions on how to update expected files.\n",
> exp_sdt->aml, sdt->aml_file, exp_sdt->aml_file);
>
> - all_tables_match = all_tables_match &&
> + all_tables_match = all_tables_match ||
> test_acpi_find_diff_allowed(exp_sdt);
>
> /*
> --
> MST
>