1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/test
Simon Tatham 92594f3e41 test_conf: directly check consistency of conf_key_info.
This is why I wrote conf.h in the form of macros that expanded to
named structure field assignments, instead of just filling it with
named structure field assignments directly. This way, I can #include
the same file again with different macro definitions, and build up a
list of what fields were set in what config options.

This new code checks that if a config option has a default, then the
type of the default matches the declared type of the option value
itself. That's what caught the two goofs in the previous commit.

This is also the part of test_conf that I _won't_ want to delete once
I've finished with the refactoring: it can stay there forever, doing
type checking at test time that the compiler isn't doing for me at
build time.
2023-09-22 15:35:40 +01:00
..
sclog sclog: add a 'project' line in CMakeLists.txt. 2022-08-16 18:23:52 +01:00
agentmulti.py Add test script for simultaneous agent connections. 2021-05-24 15:27:38 +01:00
agenttest.py Migrate all Python scripts to Python 3. 2020-03-04 21:23:49 +00:00
agenttestdata.py New test script 'agenttest.py' for testing Pageant. 2020-01-09 19:57:35 +00:00
agenttestgen.py RSA generation: option to generate strong primes. 2020-03-07 11:37:31 +00:00
ca.py test/ca.py: fix handling of RFC4716 public key files. 2022-07-30 15:01:09 +01:00
colours.txt Rename the 'testdata' subdirectory to 'test'. 2019-01-03 16:56:02 +00:00
cryptsuite.py cryptsuite: gracefully handle unavailable HW accel. 2023-08-22 19:36:07 +01:00
desref.py Migrate all Python scripts to Python 3. 2020-03-04 21:23:49 +00:00
display.txt Add SGR 9 strikethrough to test file. 2020-08-13 23:54:58 +01:00
eccref.py Migrate all Python scripts to Python 3. 2020-03-04 21:23:49 +00:00
fuzzterm.c New centralised version of local line editing. 2023-03-04 13:55:50 +00:00
lattrs.txt Rename the 'testdata' subdirectory to 'test'. 2019-01-03 16:56:02 +00:00
list-accel.py Implement AES-GCM using the @openssh.com protocol IDs. 2022-08-16 20:33:58 +01:00
mpu-check.pl Generate MPU certificates for proven primes. 2020-03-07 11:24:12 +00:00
numbertheory.py test/numbertheory.py: fix comment wording. 2020-05-03 11:18:50 +01:00
primegen.py primegen.py: add a --probabilistic option. 2021-08-28 10:17:16 +01:00
scocols.txt Rename the 'testdata' subdirectory to 'test'. 2019-01-03 16:56:02 +00:00
ssh.py Test implementation of a CA in Python. 2022-04-25 15:09:31 +01:00
test_conf.c test_conf: directly check consistency of conf_key_info. 2023-09-22 15:35:40 +01:00
test_lineedit.c Run test_lineedit and test_terminal in the main build. 2023-03-05 10:26:45 +00:00
test_terminal.c Run test_lineedit and test_terminal in the main build. 2023-03-05 10:26:45 +00:00
testcrypt-enum.h Add support for HMAC-SHA512. 2023-04-21 20:17:43 +01:00
testcrypt-func.h testcrypt: allow null return from ssh2_mac_new. 2023-08-22 19:36:05 +01:00
testcrypt.c testcrypt: allow null return from ssh2_mac_new. 2023-08-22 19:36:05 +01:00
testcrypt.py Implement OpenSSH 9.x's NTRU Prime / Curve25519 kex. 2022-04-15 17:46:06 +01:00
testsc.c Add support for HMAC-SHA512. 2023-04-21 20:17:43 +01:00
testzlib.c Move some tests into the test subdirectory. 2021-11-22 19:11:53 +00:00
utf8.txt Rename the 'testdata' subdirectory to 'test'. 2019-01-03 16:56:02 +00:00
vt100.txt Rename the 'testdata' subdirectory to 'test'. 2019-01-03 16:56:02 +00:00
windowchange.py Test program for ancillary window updates. 2021-02-07 19:59:21 +00:00