Lines Matching refs:test_parse
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);
93 test_parse("ifhost!", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT);
94 test_parse("ifhost!eth0", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT);
95 test_parse("ifhost!eth0!", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT);