Lines Matching refs:fail_unless
110 fail_unless(q.chunk_size == chunk_size, "chunk_size init wrong"); in check_bufq()
111 fail_unless(q.max_chunks == max_chunks, "max_chunks init wrong"); in check_bufq()
112 fail_unless(q.head == NULL, "init: head not NULL"); in check_bufq()
113 fail_unless(q.tail == NULL, "init: tail not NULL"); in check_bufq()
114 fail_unless(q.spare == NULL, "init: spare not NULL"); in check_bufq()
115 fail_unless(Curl_bufq_len(&q) == 0, "init: bufq length != 0"); in check_bufq()
118 fail_unless(n >= 0, "write: negative size returned"); in check_bufq()
119 fail_unless((size_t)n <= wsize, "write: wrong size returned"); in check_bufq()
120 fail_unless(result == CURLE_OK, "write: wrong result returned"); in check_bufq()
131 fail_unless(result == CURLE_AGAIN, "write-loop: unexpected result"); in check_bufq()
150 fail_unless(result == CURLE_AGAIN, "read-loop: unexpected result"); in check_bufq()
168 fail_unless(result == CURLE_AGAIN, "rw-loop: unexpected write result"); in check_bufq()
173 fail_unless(result == CURLE_AGAIN, "rw-loop: unexpected read result"); in check_bufq()
185 fail_unless(n > 0 && (size_t)n == wsize, "write should be complete"); in check_bufq()
198 fail_unless(n > 0 && (size_t)n == wsize, "write should be complete"); in check_bufq()
205 fail_unless(n > 0, "read-loop: unexpected fail"); in check_bufq()
210 fail_unless(nread == nwritten, "did not get the same out as put in"); in check_bufq()
226 fail_unless(n < 0 && result == CURLE_AGAIN, "read empty fail");