Revision: 14807
Author: adrian.chadd
Date: Mon Oct 18 20:17:32 2010
Log: Add another check, re Issue #123
http://code.google.com/p/lusca-cache/source/detail?r=14807
Modified:
/branches/LUSCA_HEAD/test-suite/atf/libhttp.c
=======================================
--- /branches/LUSCA_HEAD/test-suite/atf/libhttp.c Thu Jun 10 08:30:03 2010
+++ /branches/LUSCA_HEAD/test-suite/atf/libhttp.c Mon Oct 18 20:17:32 2010
@@ -258,6 +258,7 @@
ATF_REQUIRE(test_http_content_length(&hdr, "123b5") == 1);
ATF_REQUIRE(test_http_content_length(&hdr, "b1234") == -1);
ATF_REQUIRE(test_http_content_length(&hdr, "abcde") == -1);
+ ATF_REQUIRE(test_http_content_length(&hdr, "4790023270") == 1);
/* Clean up */
httpHeaderClean(&hdr);
@@ -277,6 +278,7 @@
libhttp_test_content_length_parser("Content-Length:
12345\r\nContent-Length: 23456\r\n", "23456");
libhttp_test_content_length_parser("Content-Length:
23456\r\nContent-Length: 12345\r\n", "23456");
libhttp_test_content_length_parser("Content-Length:
23456\r\nContent-Length: 12345\r\nContent-Length: 23456\r\n", "23456");
+ libhttp_test_content_length_parser("Content-Length:
4790023270\r\n", "4790023270");
}
ATF_TC(libhttp_parser_other_whitespace_1);
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.