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