[libvirt PATCH 3/5] tests: fix misc spelling errors reported by codespell

Daniel P. Berrangé berrange at redhat.com
Fri Oct 2 14:12:47 UTC 2020


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 tests/vircgroupmock.c         | 2 +-
 tests/virmockstathelpers.c    | 4 ++--
 tests/virnetdaemondata/README | 2 +-
 tests/virpcimock.c            | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/vircgroupmock.c b/tests/vircgroupmock.c
index 2da60f886a..dac6b6b991 100644
--- a/tests/vircgroupmock.c
+++ b/tests/vircgroupmock.c
@@ -58,7 +58,7 @@ const char *fakedevicedir1 = FAKEDEVDIR1;
  * use /sys/fs/cgroup, because we want to make it easy to
  * detect places where we've not mocked enough syscalls.
  *
- * In any open/acces/mkdir calls we look at path and if
+ * In any open/access/mkdir calls we look at path and if
  * it starts with /not/really/sys/fs/cgroup, we rewrite
  * the path to point at a subdirectory of the temporary
  * directory referred to by LIBVIRT_FAKE_ROOT_DIR env
diff --git a/tests/virmockstathelpers.c b/tests/virmockstathelpers.c
index 1a58025a0a..dde9a61c6f 100644
--- a/tests/virmockstathelpers.c
+++ b/tests/virmockstathelpers.c
@@ -34,7 +34,7 @@
  * too.
  *
  * On 64-bit hosts the stat & stat64 functions are identical, always
- * refering to the 64-bit ABI.
+ * referring to the 64-bit ABI.
  *
  * On 32-bit hosts they refer to the 32-bit & 64-bit ABIs respectively.
  *
@@ -49,7 +49,7 @@
  * In GLibC there may be two additional functions exposed by the headers,
  * __xstat() and __xstat64(). When these exist, stat() and stat64() are
  * transparently rewritten to call __xstat() and __xstat64() respectively.
- * The former symbols will not actally exist in the library at all, only
+ * The former symbols will not actually exist in the library at all, only
  * the header. The leading "__" indicates the symbols are a private impl
  * detail of the C library that applications should not care about.
  * Unfortunately, because we are trying to mock replace the C library,
diff --git a/tests/virnetdaemondata/README b/tests/virnetdaemondata/README
index d6d79d27d5..aa46ed3bbc 100644
--- a/tests/virnetdaemondata/README
+++ b/tests/virnetdaemondata/README
@@ -2,7 +2,7 @@
    ===========================
 
 The various input-data-*.json files are a record of all the historical
-formats that libvirt has been able to produce data for. Everytime a
+formats that libvirt has been able to produce data for. Every time a
 new field is added to the JSON output, a *new* input data file should
 be created. We must not add new fields to existing input-data files,
 nor must we ever re-structure them if code changes, as we must check
diff --git a/tests/virpcimock.c b/tests/virpcimock.c
index 469aa01bb0..064218d275 100644
--- a/tests/virpcimock.c
+++ b/tests/virpcimock.c
@@ -1078,7 +1078,7 @@ open(const char *path, int flags, ...)
 
 # ifdef __GLIBC__
 /* in some cases this function may not be present in headers, so we need
- * a declaration to silence the complier */
+ * a declaration to silence the compiler */
 int
 __open_2(const char *path, int flags);
 
-- 
2.26.2




More information about the libvir-list mailing list