tests/qtest: failover: use a macro for check_one_card()
authorLaurent Vivier <lvivier@redhat.com>
Thu, 3 Feb 2022 14:15:32 +0000 (15:15 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 21 Feb 2022 09:15:55 +0000 (10:15 +0100)
commit1a800870c5208e12e10fae638045121bb574d958
treee3eef06301410fe094147efb12f922d60a494234
parentfbd2913cce4cde4b8fc5a33da9782a7f638307d4
tests/qtest: failover: use a macro for check_one_card()

This allows g_assert() to correctly report the line number of the error
in the test case.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20220203141537.972317-3-lvivier@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/virtio-net-failover.c