Home
last modified time | relevance | path

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

/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c162 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
981 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
991 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1002 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1013 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1024 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1035 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1045 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1055 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1066 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
[all …]
/external/openssh/regress/unittests/sshkey/
Dtest_file.c76 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa1_1.pub"), &k2, in sshkey_file_tests()
150 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_file_tests()
158 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k2), 0); in sshkey_file_tests()
241 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_1.pub"), &k2, in sshkey_file_tests()
249 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k2), 0); in sshkey_file_tests()
339 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_1.pub"), &k2, in sshkey_file_tests()
347 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k2), 0); in sshkey_file_tests()
405 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), &k2, in sshkey_file_tests()
413 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k2), 0); in sshkey_file_tests()
Dtest_sshkey.c428 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), in sshkey_tests()
472 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
481 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
490 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
499 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_2.pub"), &k2, in sshkey_tests()
509 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_2.pub"), &k2, in sshkey_tests()
519 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_2.pub"), &k2, in sshkey_tests()
527 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_tests()
528 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
Dtest_fuzz.c302 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_fuzz_tests()
316 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k1), 0); in sshkey_fuzz_tests()
331 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k1), 0); in sshkey_fuzz_tests()
346 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
Dcommon.c46 ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1); in load_file()
/external/libaom/libaom/test/
Dtest_data_util.cmake562 function(make_test_data_lists test_data_file out_files out_checksums)
563 if(NOT test_data_file OR NOT EXISTS "${test_data_file}")
564 message(FATAL_ERROR "Test info file missing or empty (${test_data_file})")
567 # Read $test_data_file into $files_and_checksums. $files_and_checksums becomes
568 # a list with an entry for each line from $test_data_file.
569 file(STRINGS "${test_data_file}" files_and_checksums)
591 message(FATAL_ERROR "Parsing of ${test_data_file} failed.")
/external/openssh/regress/unittests/test_helper/
Dtest_helper.c170 test_data_file(const char *name) in test_data_file() function
Dtest_helper.h41 const char *test_data_file(const char *name);