summaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/ec/ec-fast-fgetxattr.c2
-rw-r--r--tests/basic/gfapi/mandatory-lock-optimal.c2
-rw-r--r--tests/basic/gfapi/upcall-cache-invalidate.c4
-rw-r--r--tests/basic/gfapi/upcall-register-api.c10
-rw-r--r--tests/basic/posix/zero-fill-enospace.c2
5 files changed, 10 insertions, 10 deletions
diff --git a/tests/basic/ec/ec-fast-fgetxattr.c b/tests/basic/ec/ec-fast-fgetxattr.c
index ddf5ae90290..ecdbcbe44a6 100644
--- a/tests/basic/ec/ec-fast-fgetxattr.c
+++ b/tests/basic/ec/ec-fast-fgetxattr.c
@@ -87,7 +87,7 @@ main (int argc, char *argv[])
ret = glfs_set_volfile_server (fs, "tcp", argv[1], 24007);
if (ret != 0) {
- fprintf (stderr, "glfs_set_volfile_server: retuned %d\n", ret);
+ fprintf (stderr, "glfs_set_volfile_server: returned %d\n", ret);
goto out;
}
ret = glfs_set_logging (fs, "/tmp/ec-fgetxattr.log", 7);
diff --git a/tests/basic/gfapi/mandatory-lock-optimal.c b/tests/basic/gfapi/mandatory-lock-optimal.c
index 9fb5ad657b0..4142258c06d 100644
--- a/tests/basic/gfapi/mandatory-lock-optimal.c
+++ b/tests/basic/gfapi/mandatory-lock-optimal.c
@@ -1,6 +1,6 @@
/* Pre-requisites:-
*
- * 1. Make sure that peformance translators are switched off while running this test.
+ * 1. Make sure that performance translators are switched off while running this test.
* 2. Perform the following volume set operation:
* # gluster volume set <VOLNAME> locks.mandatory-locking optimal
* 3. For installation under non-standard paths, export LD_LIBRARY_PATH to
diff --git a/tests/basic/gfapi/upcall-cache-invalidate.c b/tests/basic/gfapi/upcall-cache-invalidate.c
index d1b421dff18..2014bb9dccf 100644
--- a/tests/basic/gfapi/upcall-cache-invalidate.c
+++ b/tests/basic/gfapi/upcall-cache-invalidate.c
@@ -123,7 +123,7 @@ main (int argc, char *argv[])
LOG_ERR ("glfs_write", ret);
} else {
fprintf (stderr,
- "glfs_write suceeded\n");
+ "glfs_write succeeded\n");
}
free(writebuf);
} else {
@@ -175,7 +175,7 @@ main (int argc, char *argv[])
reason, object, flags, expire);
} else {
fprintf (stderr,
- "Didnt receive upcall notify event");
+ "Didn't receive upcall notify event");
ret = -1;
goto err;
}
diff --git a/tests/basic/gfapi/upcall-register-api.c b/tests/basic/gfapi/upcall-register-api.c
index cabd8be4f31..994069c0446 100644
--- a/tests/basic/gfapi/upcall-register-api.c
+++ b/tests/basic/gfapi/upcall-register-api.c
@@ -178,7 +178,7 @@ main (int argc, char *argv[])
ret = glfs_init (fs);
LOG_ERR("glfs_init", ret);
- /* Intialize fs2 */
+ /* Initialize fs2 */
fs2 = glfs_new (volname);
if (!fs2) {
fprintf (stderr, "glfs_new fs2: returned NULL\n");
@@ -199,7 +199,7 @@ main (int argc, char *argv[])
/* Check if the return mask contains the event */
if (!(ret & GLFS_EVENT_INODE_INVALIDATE)) {
- fprintf (stderr, "glfs_upcall_register return doesnt contain"
+ fprintf (stderr, "glfs_upcall_register return doesn't contain"
" upcall event\n");
return -1;
}
@@ -208,7 +208,7 @@ main (int argc, char *argv[])
/* Check if the return mask contains the event */
if ((ret < 0) || !(ret & GLFS_EVENT_INODE_INVALIDATE)) {
- fprintf (stderr, "glfs_upcall_register return doesnt contain"
+ fprintf (stderr, "glfs_upcall_register return doesn't contain"
" upcall event\n");
return -1;
}
@@ -233,7 +233,7 @@ main (int argc, char *argv[])
/* Check if the return mask contains the event */
if ((ret < 0) || !(ret & GLFS_EVENT_INODE_INVALIDATE)) {
- fprintf (stderr, "glfs_upcall_register return doesnt contain"
+ fprintf (stderr, "glfs_upcall_register return doesn't contain"
" upcall event\n");
return -1;
}
@@ -242,7 +242,7 @@ main (int argc, char *argv[])
/* Check if the return mask contains the event */
if ((ret < 0) || !(ret & GLFS_EVENT_INODE_INVALIDATE)) {
- fprintf (stderr, "glfs_upcall_register return doesnt contain"
+ fprintf (stderr, "glfs_upcall_register return doesn't contain"
" upcall event\n");
return -1;
}
diff --git a/tests/basic/posix/zero-fill-enospace.c b/tests/basic/posix/zero-fill-enospace.c
index b1aaa57c9ca..7c0d31128b3 100644
--- a/tests/basic/posix/zero-fill-enospace.c
+++ b/tests/basic/posix/zero-fill-enospace.c
@@ -23,7 +23,7 @@ main (int argc, char *argv[])
ret = glfs_set_volfile_server (fs, "tcp", argv[1], 24007);
if (ret != 0) {
- fprintf (stderr, "glfs_set_volfile_server: retuned %d\n", ret);
+ fprintf (stderr, "glfs_set_volfile_server: returned %d\n", ret);
goto out;
}
ret = glfs_set_logging (fs, argv[4], 7);