tests: buf: Fix debug messages in 'testBufEscapeRegex'

The messages reference testBufEscapeN instead of testBufEscapeRegex.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Krempa 2019-02-21 16:26:44 +01:00
parent c97679c680
commit 3d6ba96ff6

View File

@ -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;
}