]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/passwords/length.c
Change CrackLib tests for system CrackLib
[kerberos/krb5-strength.git] / tests / data / passwords / length.c
1 /*
2  * Automatically generated -- do not edit!
3  *
4  * This file was automatically generated from the original JSON source file
5  * for the use in C test programs.  To make changes, modify the original
6  * JSON source or (more rarely) the make-c-data script and run it again.
7  *
8  * Copyright 2013
9  *     The Board of Trustees of the Leland Stanford Junior University
10  *
11  * See LICENSE for licensing terms.
12  */
13
14 #include <tests/data/passwords/tests.h>
15
16 const struct password_test length_tests[] = {
17     {
18
19         "password too short (limit 12)",
20         "test@EXAMPLE.COM",
21         "vUCZ2aX$Y.e",
22         KADM5_PASS_Q_TOOSHORT,
23         "Password is too short",
24     },
25     {
26
27         "sufficiently long password",
28         "test@EXAMPLE.COM",
29         "vUCZ2aX$Y.e1",
30         0,
31         NULL,
32     },
33     {
34
35         "password in (unchecked) dictionary",
36         "test@EXAMPLE.COM",
37         "happenstance",
38         0,
39         NULL,
40     },
41 };