| /freebsd/crypto/openssh/regress/unittests/misc/ |
| H A D | test_misc.c | 30 ASSERT_STRING_EQ(chop(s), "hello"); in test_chop() 36 ASSERT_STRING_EQ(chop(s), "hello"); in test_chop() 42 ASSERT_STRING_EQ(chop(s), "hello"); in test_chop() 48 ASSERT_STRING_EQ(chop(s), "he"); in test_chop() 54 ASSERT_STRING_EQ(chop(s), "hello"); in test_chop() 60 ASSERT_STRING_EQ(chop(s), ""); in test_chop() 66 ASSERT_STRING_EQ(chop(s), ""); in test_chop() 72 ASSERT_STRING_EQ(chop(s), ""); in test_chop() 78 ASSERT_STRING_EQ(chop(s), ""); in test_chop() 91 ASSERT_STRING_EQ(s, "hello"); in test_rtrim() [all …]
|
| H A D | test_strdelim.c | 35 ASSERT_STRING_EQ(cp, ""); /* XXX arguable */ in test_strdelim() 44 ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */ in test_strdelim() 45 ASSERT_STRING_EQ(str, ""); in test_strdelim() 52 ASSERT_STRING_EQ(cp, "blob"); in test_strdelim() 62 ASSERT_STRING_EQ(cp, "blob"); in test_strdelim() 63 ASSERT_STRING_EQ(str, ""); in test_strdelim() 65 ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */ in test_strdelim() 73 ASSERT_STRING_EQ(cp, "blob1"); in test_strdelim() 74 ASSERT_STRING_EQ(str, "blob2"); in test_strdelim() 76 ASSERT_STRING_EQ(cp, "blob2"); in test_strdelim() [all …]
|
| H A D | test_parse.c | 33 ASSERT_STRING_EQ(user, "someuser"); in test_parse() 34 ASSERT_STRING_EQ(host, "some.host"); in test_parse() 35 ASSERT_STRING_EQ(path, "some/path"); in test_parse() 43 ASSERT_STRING_EQ(user, "someuser"); in test_parse() 44 ASSERT_STRING_EQ(host, "1.22.33.144"); in test_parse() 45 ASSERT_STRING_EQ(path, "some/path"); in test_parse() 53 ASSERT_STRING_EQ(user, "someuser"); in test_parse() 54 ASSERT_STRING_EQ(host, "1.22.33.144"); in test_parse() 55 ASSERT_STRING_EQ(path, "some/path"); in test_parse() 63 ASSERT_STRING_EQ(user, "someuser"); in test_parse() [all …]
|
| H A D | test_argv.c | 53 ASSERT_STRING_EQ(av[0], "leamas"); in test_argv() 59 ASSERT_STRING_EQ(av[0], "smiley"); in test_argv() 60 ASSERT_STRING_EQ(av[1], "leamas"); in test_argv() 69 ASSERT_STRING_EQ(av[0], "smiley"); in test_argv() 75 ASSERT_STRING_EQ(av[0], "leamas"); in test_argv() 76 ASSERT_STRING_EQ(av[1], " smiley "); in test_argv() 82 ASSERT_STRING_EQ(av[0], "smiley leamas"); in test_argv() 88 ASSERT_STRING_EQ(av[0], "smiley leamas"); in test_argv() 89 ASSERT_STRING_EQ(av[1], "liz"); in test_argv() 98 ASSERT_STRING_EQ(av[0], "\"smiley'"); in test_argv() [all …]
|
| H A D | test_xextendf.c | 31 ASSERT_STRING_EQ(s, "hello"); in test_xextendf() 39 ASSERT_STRING_EQ(s, "world"); in test_xextendf() 47 ASSERT_STRING_EQ(s, "foo,bar"); in test_xextendf() 55 ASSERT_STRING_EQ(s, "foobar"); in test_xextendf() 63 ASSERT_STRING_EQ(s, "foobar"); in test_xextendf() 71 ASSERT_STRING_EQ(s, "start:s=string,d=123"); in test_xextendf() 79 ASSERT_STRING_EQ(s, "one"); in test_xextendf() 81 ASSERT_STRING_EQ(s, "one,two"); in test_xextendf() 83 ASSERT_STRING_EQ(s, "one,two:three=3"); in test_xextendf() 85 ASSERT_STRING_EQ(s, "one,two:three=3four"); in test_xextendf()
|
| H A D | test_hpdelim.c | 35 ASSERT_STRING_EQ(cp, "host"); in test_hpdelim() 43 ASSERT_STRING_EQ(cp, ""); in test_hpdelim() 46 ASSERT_STRING_EQ(port, "1234"); in test_hpdelim() 54 ASSERT_STRING_EQ(cp, "host"); in test_hpdelim() 57 ASSERT_STRING_EQ(port, "1234"); in test_hpdelim() 65 ASSERT_STRING_EQ(cp, "[::1]"); in test_hpdelim() 68 ASSERT_STRING_EQ(port, "1234"); in test_hpdelim()
|
| H A D | test_expand.c | 35 ASSERT_STRING_EQ(str, (y)); \ in test_expand() 75 ASSERT_STRING_EQ(val, expect); \ in test_expand()
|
| /freebsd/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_file.c | 114 ASSERT_STRING_EQ(k2->cert->signature_type, "ssh-rsa"); in sshkey_file_tests() 123 ASSERT_STRING_EQ(k2->cert->signature_type, "rsa-sha2-512"); in sshkey_file_tests() 139 ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf)); in sshkey_file_tests() 148 ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf)); in sshkey_file_tests() 158 ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf)); in sshkey_file_tests() 172 ASSERT_STRING_EQ((const char *)sshbuf_ptr(buf), in sshkey_file_tests() 240 ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf)); in sshkey_file_tests() 249 ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf)); in sshkey_file_tests() 259 ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf)); in sshkey_file_tests() 307 ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf)); in sshkey_file_tests() [all …]
|
| /freebsd/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_misc.c | 63 ASSERT_STRING_EQ(p, "12345678"); in test_sshbuf_dtob16() 81 ASSERT_STRING_EQ(p, "EQ=="); in test_sshbuf_dtob64_string() 93 ASSERT_STRING_EQ(p, "ESI="); in test_sshbuf_dtob64_string() 106 ASSERT_STRING_EQ(p, "ESIz"); in test_sshbuf_dtob64_string() 176 ASSERT_STRING_EQ(p, "quad1"); in test_sshbuf_dup_string() 183 ASSERT_STRING_EQ(p, "quad1"); in test_sshbuf_dup_string() 361 ASSERT_STRING_EQ(s, "aGVsbG8"); in test_sshbuf_dtourlb64() 376 ASSERT_STRING_EQ(s, "FPucA9l-"); in test_sshbuf_dtourlb64() 391 ASSERT_STRING_EQ(s, "____"); in test_sshbuf_dtourlb64() 406 ASSERT_STRING_EQ(s, "-w"); in test_sshbuf_dtourlb64()
|
| H A D | test_sshbuf_getput_basic.c | 553 ASSERT_STRING_EQ(s2, "a1b2c3d4e5f607180000"); in sshbuf_getput_basic_tests() 561 ASSERT_STRING_EQ(s2, "0000a1b2c3d4e5f60718"); in sshbuf_getput_basic_tests() 575 ASSERT_STRING_EQ(s2, "00000000000000000000"); in sshbuf_getput_basic_tests() 588 ASSERT_STRING_EQ(s2, "a1b2c3d4000000000000"); in sshbuf_getput_basic_tests() 596 ASSERT_STRING_EQ(s2, "000000000000a1b2c3d4"); in sshbuf_getput_basic_tests() 610 ASSERT_STRING_EQ(s2, "00000000000000000000"); in sshbuf_getput_basic_tests() 623 ASSERT_STRING_EQ(s2, "a1b20000000000000000"); in sshbuf_getput_basic_tests() 631 ASSERT_STRING_EQ(s2, "0000000000000000a1b2"); in sshbuf_getput_basic_tests() 645 ASSERT_STRING_EQ(s2, "00000000000000000000"); in sshbuf_getput_basic_tests() 658 ASSERT_STRING_EQ(s2, "a1000000000000000000"); in sshbuf_getput_basic_tests() [all …]
|
| H A D | test_sshbuf_fixed.c | 60 ASSERT_STRING_EQ(s, "hello"); in sshbuf_fixed() 91 ASSERT_STRING_EQ(s, "hello"); in sshbuf_fixed()
|
| /freebsd/crypto/openssh/regress/unittests/kex/ |
| H A D | test_proposal.c | 59 ASSERT_STRING_EQ(result, tests[i].out); in kex_proposal_tests() 65 ASSERT_STRING_EQ(result, out); in kex_proposal_tests() 71 ASSERT_STRING_EQ(result, out); in kex_proposal_tests() 80 ASSERT_STRING_EQ(result, out); in kex_proposal_tests()
|
| /freebsd/crypto/openssh/regress/unittests/utf8/ |
| H A D | tests.c | 30 ASSERT_STRING_EQ(buf, ""); in badarg() 51 ASSERT_STRING_EQ(buf, wants); in one()
|
| /freebsd/crypto/openssh/regress/unittests/authopt/ |
| H A D | tests.c | 111 ASSERT_STRING_EQ(opts->x, expected->x); \ in compare_opts() 125 ASSERT_STRING_EQ(opts->x[i], expected->x[i]); \ in compare_opts() 150 ASSERT_STRING_EQ(errstr, ""); \ in test_authkeys_parse() 395 ASSERT_STRING_EQ(errstr, ""); \ in test_merge() 415 ASSERT_STRING_EQ(errstr, ""); \ in test_merge()
|
| /freebsd/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 118 ASSERT_STRING_EQ(l->line, expected->l.line); in check() 122 ASSERT_STRING_EQ(l->hosts, expected->l.hosts); in check() 125 ASSERT_STRING_EQ(l->rawkey, expected->l.rawkey); in check() 137 ASSERT_STRING_EQ(l->comment, expected->l.comment); in check()
|
| /freebsd/crypto/openssh/regress/unittests/match/ |
| H A D | tests.c | 106 ASSERT_STRING_EQ(result, expected); \ in tests()
|
| /freebsd/crypto/openssh/regress/unittests/test_helper/ |
| H A D | test_helper.h | 113 #define ASSERT_STRING_EQ(a1, a2) \ macro
|