Searched refs:test_parse (Results 1 – 2 of 2) sorted by relevance
/curl/tests/unit/ |
H A D | unit1620.c | 43 static void test_parse( in test_parse() function 106 test_parse("hostname", "hostname", NULL, NULL); 110 test_parse("", "", NULL, NULL); 111 test_parse(":", "", "", NULL); 112 test_parse(":;", "", "", NULL); 113 test_parse(":password", "", "password", NULL); 114 test_parse(":password;", "", "password", NULL); 115 test_parse(";options", "", NULL, "options"); 116 test_parse("user;options", "user", NULL, "options"); 117 test_parse("user:;options", "user", "", "options"); [all …]
|
H A D | unit1663.c | 51 static void test_parse( in test_parse() function 84 test_parse("dev", "dev", NULL, NULL, CURLE_OK); 85 test_parse("if!eth0", NULL, "eth0", NULL, CURLE_OK); 86 test_parse("host!myname", NULL, NULL, "myname", CURLE_OK); 87 test_parse("ifhost!eth0!myname", NULL, "eth0", "myname", CURLE_OK); 88 test_parse("", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT); 89 test_parse("!", "!", NULL, NULL, CURLE_OK); 90 test_parse("if!", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT); 91 test_parse("if!eth0!blubb", NULL, "eth0!blubb", NULL, CURLE_OK); 92 test_parse("host!", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT); [all …]
|
Completed in 8 milliseconds