fixed interval in read testcase, handles check without timeout

This commit is contained in:
Bjorn Andersson 2007-01-28 03:05:43 +00:00
parent 8babf3f1a6
commit 19a0b9a382
2 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,7 @@ START_TEST(test_read_putshort)
char* p;
int i;
for (i = 0; i < 1; i++) {
for (i = 0; i < 65536; i++) {
p = (char*)&k;
putshort(&p, i);
fail_unless(ntohs(k) == i,

View File

@ -23,5 +23,9 @@ TCase *test_encoding_create_tests();
TCase *test_read_create_tests();
char *va_str(const char *, ...);
#ifndef tcase_set_timeout
#define tcase_set_timeout(...)
#endif
#endif