ASSERT_STRING_EQ
ASSERT_STRING_EQ(opts->x, expected->x); \
ASSERT_STRING_EQ(opts->x[i], expected->x[i]); \
ASSERT_STRING_EQ(errstr, ""); \
ASSERT_STRING_EQ(errstr, ""); \
ASSERT_STRING_EQ(errstr, ""); \
ASSERT_STRING_EQ(l->line, expected->l.line);
ASSERT_STRING_EQ(l->hosts, expected->l.hosts);
ASSERT_STRING_EQ(l->rawkey, expected->l.rawkey);
ASSERT_STRING_EQ(l->comment, expected->l.comment);
ASSERT_STRING_EQ(result, tests[i].out);
ASSERT_STRING_EQ(result, out);
ASSERT_STRING_EQ(result, out);
ASSERT_STRING_EQ(result, out);
ASSERT_STRING_EQ(result, expected); \
ASSERT_STRING_EQ(av[0], "\"smiley'");
ASSERT_STRING_EQ(av[0], "'smiley\"");
ASSERT_STRING_EQ(av[0], "smiley's");
ASSERT_STRING_EQ(av[1], "leamas'");
ASSERT_STRING_EQ(av[0], "leamas\\smiley");
ASSERT_STRING_EQ(av[0], "leamas\\");
ASSERT_STRING_EQ(av[1], "\\smiley");
ASSERT_STRING_EQ(av[0], "smiley leamas");
ASSERT_STRING_EQ(av[0], "smiley\\ leamas");
ASSERT_STRING_EQ(av[0], "smiley\\ leamas");
ASSERT_STRING_EQ(av[0], "#");
ASSERT_STRING_EQ(av[1], "gold");
ASSERT_STRING_EQ(av[0], "leamas#gold");
ASSERT_STRING_EQ(av[0], "leamas # gold");
ASSERT_STRING_EQ(av[0], "leamas#gold");
ASSERT_STRING_EQ(av[0], "leamas");
ASSERT_STRING_EQ(av[0], "smiley");
ASSERT_STRING_EQ(av[1], "leamas");
ASSERT_STRING_EQ(av[0], "smiley");
ASSERT_STRING_EQ(av[0], "leamas");
ASSERT_STRING_EQ(av[1], " smiley ");
ASSERT_STRING_EQ(av[0], "smiley leamas");
ASSERT_STRING_EQ(av[0], "smiley leamas");
ASSERT_STRING_EQ(av[1], "liz");
ASSERT_STRING_EQ(str, (y)); \
ASSERT_STRING_EQ(percent_expand("%%", "%h", "foo", NULL), "%");
ASSERT_STRING_EQ(percent_expand("%h", "h", "foo", NULL), "foo");
ASSERT_STRING_EQ(percent_expand("%h ", "h", "foo", NULL), "foo ");
ASSERT_STRING_EQ(percent_expand(" %h", "h", "foo", NULL), " foo");
ASSERT_STRING_EQ(percent_expand(" %h ", "h", "foo", NULL), " foo ");
ASSERT_STRING_EQ(percent_expand(" %a%b ", "a", "foo", "b", "bar", NULL),
ASSERT_STRING_EQ(percent_dollar_expand("%h${FOO}", "h", "foo", NULL),
ASSERT_STRING_EQ(cp, "host");
ASSERT_STRING_EQ(cp, "");
ASSERT_STRING_EQ(port, "1234");
ASSERT_STRING_EQ(cp, "host");
ASSERT_STRING_EQ(port, "1234");
ASSERT_STRING_EQ(cp, "[::1]");
ASSERT_STRING_EQ(port, "1234");
ASSERT_STRING_EQ(user, "someuser");
ASSERT_STRING_EQ(host, "some.host");
ASSERT_STRING_EQ(path, "some/path");
ASSERT_STRING_EQ(user, "someuser");
ASSERT_STRING_EQ(host, "1.22.33.144");
ASSERT_STRING_EQ(path, "some/path");
ASSERT_STRING_EQ(user, "someuser");
ASSERT_STRING_EQ(host, "1.22.33.144");
ASSERT_STRING_EQ(path, "some/path");
ASSERT_STRING_EQ(user, "someuser");
ASSERT_STRING_EQ(host, "1.22.33.144");
ASSERT_STRING_EQ(path, ".");
ASSERT_STRING_EQ(user, "someuser");
ASSERT_STRING_EQ(host, "::1");
ASSERT_STRING_EQ(path, "some/path");
ASSERT_STRING_EQ(user, "someuser");
ASSERT_STRING_EQ(host, "some.host");
ASSERT_STRING_EQ(path, "some/path");
ASSERT_STRING_EQ(cp, "blob1");
ASSERT_STRING_EQ(str, "blob2");
ASSERT_STRING_EQ(cp, "blob2");
ASSERT_STRING_EQ(cp, "blob1"); /* XXX better returning NULL early */
ASSERT_STRING_EQ(str, "=blob2");
ASSERT_STRING_EQ(cp, "");
ASSERT_STRING_EQ(str, "blob2");
ASSERT_STRING_EQ(cp, "blob2"); /* XXX should (but can't) reject */
ASSERT_STRING_EQ(cp, "blob1=blob2");
ASSERT_STRING_EQ(cp, "blob");
ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */
ASSERT_STRING_EQ(cp, "blob1");
ASSERT_STRING_EQ(str, "blob2");
ASSERT_STRING_EQ(cp, "blob2");
ASSERT_STRING_EQ(cp, "blob1");
ASSERT_STRING_EQ(str, "\"blob2\"");
ASSERT_STRING_EQ(cp, "blob2");
ASSERT_STRING_EQ(str, "");
ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */
ASSERT_STRING_EQ(cp, "blob1");
ASSERT_STRING_EQ(cp, "blob2");
ASSERT_STRING_EQ(cp, "blob3");
ASSERT_STRING_EQ(cp, "blob\\"); /* XXX wrong */
ASSERT_STRING_EQ(cp, "");
ASSERT_STRING_EQ(cp, ""); /* XXX arguable */
ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */
ASSERT_STRING_EQ(str, "");
ASSERT_STRING_EQ(cp, "blob");
ASSERT_STRING_EQ(cp, "blob");
ASSERT_STRING_EQ(str, "");
ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */
ASSERT_STRING_EQ(cp, "blob1");
ASSERT_STRING_EQ(str, "blob2");
ASSERT_STRING_EQ(cp, "blob2");
ASSERT_STRING_EQ(cp, "blob1");
ASSERT_STRING_EQ(str, "blob2 ");
ASSERT_STRING_EQ(cp, "blob2");
ASSERT_STRING_EQ(cp, ""); /* XXX better as NULL */
ASSERT_STRING_EQ(s, "hello");
ASSERT_STRING_EQ(s, "hello");
ASSERT_STRING_EQ(s2, "a1b2c3d4e5f607180000");
ASSERT_STRING_EQ(s2, "0000a1b2c3d4e5f60718");
ASSERT_STRING_EQ(s2, "00000000000000000000");
ASSERT_STRING_EQ(s2, "a1b2c3d4000000000000");
ASSERT_STRING_EQ(s2, "000000000000a1b2c3d4");
ASSERT_STRING_EQ(s2, "00000000000000000000");
ASSERT_STRING_EQ(s2, "a1b20000000000000000");
ASSERT_STRING_EQ(s2, "0000000000000000a1b2");
ASSERT_STRING_EQ(s2, "00000000000000000000");
ASSERT_STRING_EQ(s2, "a1000000000000000000");
ASSERT_STRING_EQ(s2, "000000000000000000a1");
ASSERT_STRING_EQ(s2, "00000000000000000000");
ASSERT_STRING_EQ(s2, "68656c6c6f2100000000");
ASSERT_STRING_EQ(s2, "0000000068656c6c6f21");
ASSERT_STRING_EQ(s2, "00000000000000000000");
ASSERT_STRING_EQ(p, "quad1");
ASSERT_STRING_EQ(p, "quad1");
ASSERT_STRING_EQ(p, "12345678");
ASSERT_STRING_EQ(p, "EQ==");
ASSERT_STRING_EQ(p, "ESI=");
ASSERT_STRING_EQ(p, "ESIz");
ASSERT_STRING_EQ(k2->cert->signature_type, "ssh-rsa");
ASSERT_STRING_EQ(k2->cert->signature_type, "rsa-sha2-512");
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ((const char *)sshbuf_ptr(buf),
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(cp, (const char *)sshbuf_ptr(buf));
ASSERT_STRING_EQ(buf, "");
ASSERT_STRING_EQ(buf, wants);