mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
test: fix typo
Follow-up for 66444455867f5f6313151a480d2651d7ac90dcac.
This commit is contained in:
parent
2e097e4a91
commit
8810b782a1
@ -14,7 +14,7 @@ TEST(make_recovery_key) {
|
||||
char *generated_keys[num_test];
|
||||
int r;
|
||||
|
||||
/* Check for succesful recovery-key creation */
|
||||
/* Check for successful recovery-key creation */
|
||||
r = make_recovery_key(&recovery_key);
|
||||
assert_se(r == 0);
|
||||
assert_se(recovery_key != NULL);
|
||||
@ -124,7 +124,7 @@ TEST(normalize_recovery_key) {
|
||||
assert(r == 0);
|
||||
assert_se(streq(normalized_key3, "bfghiceh-hiuvlkji-hfhedlnt-ruvcdefj-ituvklni-jvtutkji-hdfbcbgh-ijhhfdbc"));
|
||||
|
||||
/* Case 6: Minimun password length */
|
||||
/* Case 6: Minimum password length */
|
||||
r = normalize_recovery_key("", &normalized_key1);
|
||||
assert_se(r == -EINVAL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user