Home
last modified time | relevance | path

Searched refs:test_data_file (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/regress/usr.bin/ssh/unittests/hostkeys/
H A Dtest_iterate.c147 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
884 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
895 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
907 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
919 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
931 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
943 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
954 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
965 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
977 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
[all …]
/openbsd-src/regress/usr.bin/ssh/unittests/sshkey/
H A Dtest_file.c94 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_file_tests()
102 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha1"), &k2), 0); in sshkey_file_tests()
111 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha512"), &k2), 0); in sshkey_file_tests()
120 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k2), 0); in sshkey_file_tests()
204 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_1.pub"), &k2, in sshkey_file_tests()
212 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k2), 0); in sshkey_file_tests()
303 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_1.pub"), &k2, in sshkey_file_tests()
311 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k2), 0); in sshkey_file_tests()
368 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), &k2, in sshkey_file_tests()
376 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_ in sshkey_file_tests()
[all...]
H A Dtest_sshkey.c379 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), in sshkey_tests()
426 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
435 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
444 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
454 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_2.pub"), &k2, in sshkey_tests()
464 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_2.pub"), &k2, in sshkey_tests()
473 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_2.pub"), &k2, in sshkey_tests()
481 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_tests()
482 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
H A Dtest_fuzz.c276 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_fuzz_tests()
291 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k1), 0); in sshkey_fuzz_tests()
306 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k1), 0); in sshkey_fuzz_tests()
320 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
H A Dcommon.c37 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/
H A D10_read.t42 my $file = test_data_file( $case->{file} );
76 my $file = test_data_file( $key );
93 eval { CPAN::Meta::YAML->read( test_data_file('nonexistent.yml') ); };
H A D11_read_string.t43 slurp( test_data_file('latin1.yml'), ":utf8" );
/openbsd-src/regress/usr.bin/ssh/unittests/sshsig/
H A Dtests.c34 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
43 ASSERT_INT_EQ(sshkey_load_public(test_data_file(name), &ret, NULL), 0); in load_key()
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/lib/
H A DTestUtils.pm38 sub test_data_file { subroutine
/openbsd-src/regress/sbin/iked/test_helper/
H A Dtest_helper.c147 test_data_file(const char *name) in test_data_file() function
H A Dtest_helper.h39 const char *test_data_file(const char *name);
/openbsd-src/regress/usr.bin/ssh/unittests/test_helper/
H A Dtest_helper.c185 test_data_file(const char *name) in test_data_file() function
H A Dtest_helper.h37 const char *test_data_file(const char *name);
/openbsd-src/regress/usr.bin/ssh/unittests/authopt/
H A Dtests.c29 r = sshkey_load_public(test_data_file(name), &ret, NULL); in load_key()