diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2018-07-16 17:03:17 +0300 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-07-22 14:40:16 +0000 |
commit | 621138ce763eda8270d0a4f6d7209fd50ada8787 (patch) | |
tree | 7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /tests/utils | |
parent | c0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff) |
All: run codespell on the code and fix issues.
Please review, it's not always just the comments that were fixed.
I've had to revert of course all calls to creat() that were changed
to create() ...
Only compile-tested!
Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'tests/utils')
-rw-r--r-- | tests/utils/arequal-checksum.c | 4 | ||||
-rwxr-xr-x | tests/utils/getfattr.py | 2 | ||||
-rw-r--r-- | tests/utils/libcxattr.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/utils/arequal-checksum.c b/tests/utils/arequal-checksum.c index aede4f48adb..6ab68f38db8 100644 --- a/tests/utils/arequal-checksum.c +++ b/tests/utils/arequal-checksum.c @@ -31,7 +31,7 @@ /* * FTW_ACTIONRETVAL is a GNU libc extension. It is used here to skip - * hiearchies. On other systems we will still walk the tree, ignoring + * hierarchies. On other systems we will still walk the tree, ignoring * entries. */ #ifndef FTW_ACTIONRETVAL @@ -482,7 +482,7 @@ process_entry (const char *path, const struct stat *sb, This mainly helps in calculating the checksum of network filesystems (client-server), where the server might have some hidden directories - for managing the filesystem. So to calculate the sanity of filesytem + for managing the filesystem. So to calculate the sanity of filesystem one has to get the checksum of the client and then the export directory of server by telling arequal to ignore some of the directories which are not part of the namespace. diff --git a/tests/utils/getfattr.py b/tests/utils/getfattr.py index 7d1f7368e3e..b0dba822d64 100755 --- a/tests/utils/getfattr.py +++ b/tests/utils/getfattr.py @@ -65,7 +65,7 @@ if __name__ == '__main__': " them. Valid values of [en] are `text`, `hex`," " and `base64`. Values encoded as text strings are" " enclosed in double quotes (\"), while strings" - " encoded as hexidecimal and base64 are prefixed with" + " encoded as hexadecimal and base64 are prefixed with" " 0x and 0s, respectively.") parser.add_option("-m", action="store", dest="pattern", type="string", help="Only include attributes with names matching the" diff --git a/tests/utils/libcxattr.py b/tests/utils/libcxattr.py index 4e6e6c46df9..fd0b08378fc 100644 --- a/tests/utils/libcxattr.py +++ b/tests/utils/libcxattr.py @@ -15,7 +15,7 @@ from ctypes import CDLL, c_int, create_string_buffer class Xattr(object): - """singleton that wraps the extended attribues system + """singleton that wraps the extended attributes system interface for python using ctypes Just implement it to the degree we need it, in particular |