OSDN Git Service

tests/megasas: Make test independent of global_qtest
authorThomas Huth <thuth@redhat.com>
Tue, 9 Apr 2019 08:52:42 +0000 (10:52 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 8 May 2019 14:59:28 +0000 (16:59 +0200)
commit2756f82af412c6a0a06030e8ff8df0861d639c7a
treea733106097920aceeea4f7c892b15f268506a09a
parent6bb58d200a9e68808e856df76a0e2fd3bf38e35d
tests/megasas: Make test independent of global_qtest

The test uses memwrite() and thus relies on global_qtest. Let's replace it
with qtest_memwrite(), so that we are independent from global_qtest here.

Message-Id: <20190409085245.31548-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/megasas-test.c