tests: Fix parentheses order in an assignment-comparison conditional

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1717090

Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Erik Skultety 2019-06-04 20:56:58 +02:00
parent de563ebcf9
commit 08ad83eee1

View File

@ -918,7 +918,7 @@ testQemuCapsIterate(const char *suffix,
if (virDirOpen(&dir, TEST_QEMU_CAPS_PATH) < 0)
goto cleanup;
while ((rc = virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH) > 0)) {
while ((rc = virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH)) > 0) {
char *tmp = ent->d_name;
char *base = NULL;
char *archName = NULL;