2 * Automatically generated -- do not edit!
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.
9 * The Board of Trustees of the Leland Stanford Junior University
11 * See LICENSE for licensing terms.
14 #include <tests/data/passwords/tests.h>
16 const struct password_test principal_tests[] = {
20 "someuser@EXAMPLE.ORG",
23 "Password based on username or principal",
27 "based on principal (reversed)",
28 "someuser@EXAMPLE.ORG",
31 "Password based on username or principal",
35 "based on principal with digits",
36 "someuser@EXAMPLE.ORG",
39 "Password based on username or principal",
47 "Password based on username or principal",
51 "principal with leading digits",
52 "someuser@EXAMPLE.ORG",
55 "Password based on username or principal",
59 "principal with leading and trailing digits",
60 "someuser@EXAMPLE.ORG",
63 "Password based on username or principal",
67 "is realm (lowercase)",
68 "someuser@NEWEXAMPLE.ORG",
71 "Password based on username or principal",
75 "is realm (lowercase) with digits",
76 "someuser@NEWEXAMPLE.ORG",
79 "Password based on username or principal",
83 "is realm (lowercase) with leading digits",
84 "someuser@NEWEXAMPLE.ORG",
87 "Password based on username or principal",
92 "someuser@NEWEXAMPLE.ORG",
95 "Password based on username or principal",
99 "is second realm with digits",
100 "someuser@NEWEXAMPLE.ORG",
102 KADM5_PASS_Q_GENERIC,
103 "Password based on username or principal",
107 "is whole realm (mixed case)",
108 "someuser@NEWEXAMPLE.ORG",
110 KADM5_PASS_Q_GENERIC,
111 "Password based on username or principal",