summaryrefslogtreecommitdiffstats
path: root/tests/features/glfs-lease.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-16 17:03:17 +0300
committerAmar Tumballi <amarts@redhat.com>2018-07-22 14:40:16 +0000
commit621138ce763eda8270d0a4f6d7209fd50ada8787 (patch)
tree7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /tests/features/glfs-lease.c
parentc0e76377d0fc47aa66f35ea70a4793731ebbd40c (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/features/glfs-lease.c')
-rw-r--r--tests/features/glfs-lease.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/glfs-lease.c b/tests/features/glfs-lease.c
index 1a375ecbeb3..535b3019a8c 100644
--- a/tests/features/glfs-lease.c
+++ b/tests/features/glfs-lease.c
@@ -199,7 +199,7 @@ do {
do { \
if (ret != value) { \
fprintf (log_file, "\n Testcase %d failed, ret = %d, value=%d\n", test_case, ret, value); \
- goto error; /*test unsuccesfull*/ \
+ goto error; /*test unsuccessful*/ \
} \
fprintf (log_file, "\n Testcase %d Succeeded\n", test_case); \
} while (0) \
@@ -210,7 +210,7 @@ recall_cbk (struct glfs_lease lease, void *data)
int ret = -1;
char ld[GLFS_LEASE_ID_SIZE] = "";
- fprintf (log_file, "\nRECALL recieved on lease_id:(%s)", lease.lease_id);
+ fprintf (log_file, "\nRECALL received on lease_id:(%s)", lease.lease_id);
memcpy (ld, lease.lease_id, GLFS_LEASE_ID_SIZE);
ret = unlk_write_lease ((glfs_fd_t *)data, ld);
VERIFY_RESULT (500, ret, SHUD_PASS);