mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix minor typos in messages and docs
Signed-off-by: Yuri Chornoivan <yurchor@ukr.net> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
committed by
Ján Tomko
parent
6a6925b9b7
commit
e5c1fbca24
@@ -281,7 +281,7 @@ testSELinuxCheckLabels(testSELinuxFile *files, size_t nfiles)
|
||||
}
|
||||
if (STRNEQ_NULLABLE(files[i].context, ctx)) {
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"File %s context '%s' did not match epected '%s'",
|
||||
"File %s context '%s' did not match expected '%s'",
|
||||
files[i].file, ctx, files[i].context);
|
||||
VIR_FREE(ctx);
|
||||
return -1;
|
||||
|
||||
@@ -240,7 +240,7 @@ testFirewallSingleGroup(const void *opaque)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -306,7 +306,7 @@ testFirewallRemoveRule(const void *opaque)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -379,7 +379,7 @@ testFirewallManyGroups(const void *opaque ATTRIBUTE_UNUSED)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -475,7 +475,7 @@ testFirewallIgnoreFailGroup(const void *opaque ATTRIBUTE_UNUSED)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -549,7 +549,7 @@ testFirewallIgnoreFailRule(const void *opaque ATTRIBUTE_UNUSED)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -620,7 +620,7 @@ testFirewallNoRollback(const void *opaque ATTRIBUTE_UNUSED)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -710,7 +710,7 @@ testFirewallSingleRollback(const void *opaque ATTRIBUTE_UNUSED)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -803,7 +803,7 @@ testFirewallManyRollback(const void *opaque ATTRIBUTE_UNUSED)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -926,7 +926,7 @@ testFirewallChainedRollback(const void *opaque ATTRIBUTE_UNUSED)
|
||||
actual = virBufferCurrentContent(&cmdbuf);
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -1109,7 +1109,7 @@ testFirewallQuery(const void *opaque ATTRIBUTE_UNUSED)
|
||||
}
|
||||
|
||||
if (STRNEQ_NULLABLE(expected, actual)) {
|
||||
fprintf(stderr, "Unexected command execution\n");
|
||||
fprintf(stderr, "Unexpected command execution\n");
|
||||
virTestDifference(stderr, expected, actual);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ testHashInit(int size)
|
||||
if (!(hash = virHashCreate(size, NULL)))
|
||||
return NULL;
|
||||
|
||||
/* entires are added in reverse order so that they will be linked in
|
||||
/* entries are added in reverse order so that they will be linked in
|
||||
* collision list in the same order as in the uuids array
|
||||
*/
|
||||
for (i = ARRAY_CARDINALITY(uuids) - 1; i >= 0; i--) {
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
* then lookup the same symbol name but with 'wrap_' prefixed
|
||||
* on it, and call that.
|
||||
*
|
||||
* The actual test suite should provide the implemention of
|
||||
* The actual test suite should provide the implementation of
|
||||
* the wrap_XXXX symbol, using the VIR_MOCK_WRAP_NNN_MMM
|
||||
* macros.
|
||||
*/
|
||||
|
||||
@@ -221,7 +221,7 @@ int access(const char *path, int mode)
|
||||
|
||||
/* Okay, the following ifdef rain forest may look messy at a
|
||||
* first glance. But here's the thing: during run time linking of
|
||||
* a binary, stat() may not be acutally needing symbol stat. It
|
||||
* a binary, stat() may not be actually needing symbol stat. It
|
||||
* might as well not had been stat() in the first place (see the
|
||||
* reasoning at the beginning of this file). However, if we would
|
||||
* expose stat symbol here, we will poison the well and trick
|
||||
|
||||
Reference in New Issue
Block a user