Home | History | Annotate | Download | only in libtest

Lines Matching refs:filetime

31   long filetime;
38 /* Test that a filetime is properly initialized on curl_easy_init.
41 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
47 if(filetime != -1) {
48 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n",
49 __FILE__, __LINE__, filetime);
64 /* Test that a filetime is properly set after receiving an HTTP resource.
67 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
73 if(filetime != 30) {
74 fprintf(stderr, "%s:%d filetime of http resource is incorrect; "
76 __FILE__, __LINE__, filetime);
81 /* Test that a filetime is properly initialized on curl_easy_duphandle.
92 res = curl_easy_getinfo(dupe, CURLINFO_FILETIME, &filetime);
98 if(filetime != -1) {
99 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n",
100 __FILE__, __LINE__, filetime);
106 /* Test that a filetime is properly initialized on curl_easy_reset.
111 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
117 if(filetime != -1) {
118 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n",
119 __FILE__, __LINE__, filetime);