summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-09-05 10:43:09 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-05 11:12:23 +0200
commit3ae2e9971ad97227f644e59ad838419092f0902a (patch)
tree6076ccec6c914368add361379e02528d4eba658f
parent21e9b2c71dfabd3e6b39f6e2911edbb28f3439d3 (diff)
downloadsssd-3ae2e9971ad97227f644e59ad838419092f0902a.tar.gz
sssd-3ae2e9971ad97227f644e59ad838419092f0902a.tar.bz2
sssd-3ae2e9971ad97227f644e59ad838419092f0902a.zip
krb5_utils tests: fix some typos
-rw-r--r--src/tests/krb5_utils-tests.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tests/krb5_utils-tests.c b/src/tests/krb5_utils-tests.c
index 4be3ad04..174d463b 100644
--- a/src/tests/krb5_utils-tests.c
+++ b/src/tests/krb5_utils-tests.c
@@ -67,7 +67,7 @@ void teardown_create_dir(void)
fail_unless(tmp_ctx != NULL, "Talloc context already freed.");
ret = talloc_free(tmp_ctx);
tmp_ctx = NULL;
- fail_unless(ret == 0, "Connot free talloc context.");
+ fail_unless(ret == 0, "Cannot free talloc context.");
}
static void check_dir(const char *dirname, uid_t uid, gid_t gid, mode_t mode)
@@ -461,7 +461,7 @@ void free_talloc_context(void)
fail_unless(tmp_ctx != NULL, "Talloc context already freed.");
ret = talloc_free(tmp_ctx);
tmp_ctx = NULL;
- fail_unless(ret == 0, "Connot free talloc context.");
+ fail_unless(ret == 0, "Cannot free talloc context.");
}
static void do_test(const char *file_template, const char *dir_template,
@@ -482,7 +482,7 @@ static void do_test(const char *file_template, const char *dir_template,
"Expansion failed, result [%s], expected [%s].",
result, expected);
fail_unless(private_path == expected_private_path,
- "Unexprected private path, get [%s], expected [%s].",
+ "Unexpected private path, get [%s], expected [%s].",
private_path ? "true" : "false",
expected_private_path ? "true" : "false");
}
@@ -577,7 +577,7 @@ START_TEST(test_ccache_dir)
fail_unless(result == NULL, "Using %%d in ccache dir should fail.");
fail_unless(private_path == false,
- "Unexprected private path, get [%s], expected [%s].",
+ "Unexpected private path, get [%s], expected [%s].",
private_path ? "true" : "false", "false");
}
END_TEST
@@ -598,7 +598,7 @@ START_TEST(test_pid)
fail_unless(result == NULL, "Using %%P in ccache dir should fail.");
fail_unless(private_path == false,
- "Unexprected private path, get [%s], expected [%s].",
+ "Unexpected private path, get [%s], expected [%s].",
private_path ? "true" : "false", "false");
}
END_TEST
@@ -632,7 +632,7 @@ START_TEST(test_unknow_template)
fail_unless(result == NULL, "Unknown template [%s] should fail.",
test_template);
fail_unless(private_path == false,
- "Unexprected private path, get [%s], expected [%s].",
+ "Unexpected private path, get [%s], expected [%s].",
private_path ? "true" : "false", "false");
}
END_TEST
@@ -649,7 +649,7 @@ START_TEST(test_NULL)
fail_unless(result == NULL, "Expected NULL as a result for an empty input.",
test_template);
fail_unless(private_path == false,
- "Unexprected private path, get [%s], expected [%s].",
+ "Unexpected private path, get [%s], expected [%s].",
private_path ? "true" : "false", "false");
}
END_TEST
@@ -668,7 +668,7 @@ START_TEST(test_no_substitution)
"Expansion failed, result [%s], expected [%s].",
result, test_template);
fail_unless(private_path == false,
- "Unexprected private path, get [%s], expected [%s].",
+ "Unexpected private path, get [%s], expected [%s].",
private_path ? "true" : "false", "false");
}
END_TEST