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