The messages reference testBufEscapeN instead of testBufEscapeRegex.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/virbuftest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/virbuftest.c b/tests/virbuftest.c
index 5bffe94c95..547438c646 100644
--- a/tests/virbuftest.c
+++ b/tests/virbuftest.c
@@ -412,12 +412,12 @@ testBufEscapeRegex(const void *opaque)
virBufferEscapeRegex(&buf, "%s", data->data);
if (!(actual = virBufferContentAndReset(&buf))) {
- VIR_TEST_DEBUG("testBufEscapeN: buf is empty");
+ VIR_TEST_DEBUG("testBufEscapeRegex: buf is empty");
goto cleanup;
}
if (STRNEQ_NULLABLE(actual, data->expect)) {
- VIR_TEST_DEBUG("testBufEscapeN: Strings don't match:\n");
+ VIR_TEST_DEBUG("testBufEscapeRegex: Strings don't match:\n");
virTestDifference(stderr, data->expect, actual);
goto cleanup;
}
--
2.20.1