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