mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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:
parent
c97679c680
commit
3d6ba96ff6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user