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