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.
8 * Written by Russ Allbery <eagle@eyrie.org>
9 * Copyright 2020 Russ Allbery <eagle@eyrie.org>
11 * The Board of Trustees of the Leland Stanford Junior University
13 * SPDX-License-Identifier: MIT
16 #include <tests/data/passwords/tests.h>
18 extern const struct password_test history_tests[];
19 const struct password_test history_tests[] = {
22 "valid simple password",
23 "someuser@EXAMPLE.ORG",
31 "repeating the same password",
32 "someuser@EXAMPLE.ORG",
35 "Password was previously used",
40 "different password works",
41 "someuser@EXAMPLE.ORG",
50 "someuser@EXAMPLE.ORG",
53 "Password was previously used",
58 "previous password still fails",
59 "someuser@EXAMPLE.ORG",
62 "Password was previously used",
67 "succeeds for different user",
77 "someuser@EXAMPLE.ORG",
80 "Password based on username or principal",