99cbc7
From afbd3adabf31cbf870c7a3787af6466cfe9cb0d1 Mon Sep 17 00:00:00 2001
99cbc7
Message-Id: <afbd3adabf31cbf870c7a3787af6466cfe9cb0d1@dist-git>
99cbc7
From: Michal Privoznik <mprivozn@redhat.com>
99cbc7
Date: Wed, 10 Oct 2018 17:25:53 +0200
99cbc7
Subject: [PATCH] virfiletest: Fix test name prefix for virFileInData test
99cbc7
99cbc7
RHEL-7.7: https://bugzilla.redhat.com/show_bug.cgi?id=1632711
99cbc7
RHEL-8.0: https://bugzilla.redhat.com/show_bug.cgi?id=1634782
99cbc7
RHEL-7.6.z: https://bugzilla.redhat.com/show_bug.cgi?id=1635705
99cbc7
99cbc7
Because of lacking virTestCounterReset() call, the old test cases
99cbc7
name was preserved.
99cbc7
99cbc7
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
99cbc7
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
99cbc7
(cherry picked from commit 6814ac678e07ea3f2f8351eb75c82af9ad9d727f)
99cbc7
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
99cbc7
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
99cbc7
---
99cbc7
 tests/virfiletest.c | 1 +
99cbc7
 1 file changed, 1 insertion(+)
99cbc7
99cbc7
diff --git a/tests/virfiletest.c b/tests/virfiletest.c
99cbc7
index a15495e9e8..790911cacb 100644
99cbc7
--- a/tests/virfiletest.c
99cbc7
+++ b/tests/virfiletest.c
99cbc7
@@ -389,6 +389,7 @@ mymain(void)
99cbc7
     } while (0)
99cbc7
 
99cbc7
     if (holesSupported()) {
99cbc7
+        virTestCounterReset("testFileInData ");
99cbc7
         DO_TEST_IN_DATA(true, 4, 4, 4);
99cbc7
         DO_TEST_IN_DATA(false, 4, 4, 4);
99cbc7
         DO_TEST_IN_DATA(true, 8, 8, 8);
99cbc7
-- 
99cbc7
2.21.0
99cbc7