# HG changeset patch # User Rich Burridge # Date 1460585117 25200 # Node ID ae78071b3cad211e15bb4cb4bc960136e1eac046 # Parent 9c6a2daa1337e4740afef6455e2bd96429f4bd87 20217383 squid should have its tests hooked up in the Makefile diff -r 9c6a2daa1337 -r ae78071b3cad components/squid/Makefile --- a/components/squid/Makefile Wed Apr 13 13:41:44 2016 -0700 +++ b/components/squid/Makefile Wed Apr 13 15:05:17 2016 -0700 @@ -38,7 +38,7 @@ TPNO= 23264 -TEST_TARGET= $(NO_TESTS) +TEST_TARGET= $(TEST_64) include $(WS_MAKE_RULES)/common.mk CFLAGS += -I$(USRINCDIR)/kerberosv5 @@ -92,11 +92,6 @@ (cd $(PROTO_DIR)/etc/squid ; \ echo '\ncache_effective_user webservd' >> squid.conf) -# configure says it needs cppunit to test with. -# After some work I can get cppunit to build but it quickly -# falls over during test so giving up. -# I don't think the test suite really tests squid's functionality anyways. -# # To test manually follow along in the book # Squid Proxy Server 3.1 Beginner's Guide Page 34 # @@ -123,6 +118,17 @@ # Enter :897 in your web browser and squid should complain. # Squid is working properly. +COMPONENT_TEST_TRANSFORMS += \ + '-n ' \ + '-e "/Testsuite/p" ' \ + '-e "/=====/p" ' \ + '-e "/TOTAL/p" ' \ + '-e "/SKIP/p" ' \ + '-e "/PASS/p" ' \ + '-e "/FAIL/p" ' \ + '-e "/Can not open file/d" ' \ + '-e "/ERROR/p" ' + REQUIRED_PACKAGES += library/libtool/libltdl REQUIRED_PACKAGES += library/security/openssl REQUIRED_PACKAGES += runtime/perl-512 diff -r 9c6a2daa1337 -r ae78071b3cad components/squid/test/results-64.master --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/squid/test/results-64.master Wed Apr 13 15:05:17 2016 -0700 @@ -0,0 +1,752 @@ +PASS: testPreCompiler +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 2 +# PASS: 2 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: tests/testRFC1035 +PASS: tests/testRFC1738 +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 3 +# PASS: 3 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +PASS: testCharacterSet +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 2 +# PASS: 2 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +PASS: testTokenizer +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 2 +# PASS: 2 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +PASS: testIpAddress +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 2 +# PASS: 2 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +PASS: testIcmp +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 2 +# PASS: 2 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 1 +# PASS: 1 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: tests/testACLMaxUserIP +PASS: tests/testBoilerplate +PASS: tests/testCacheManager +PASS: tests/testDiskIO +PASS: tests/testEvent +PASS: tests/testEventLoop +PASS: tests/test_http_range +PASS: tests/testHttpParser +PASS: tests/testHttpReply +PASS: tests/testHttpRequest +PASS: tests/testStore +PASS: tests/testString +PASS: tests/testURL +PASS: tests/testSBuf +PASS: tests/testSBufList +PASS: tests/testConfigParser +PASS: tests/testStatHist +PASS: tests/testUfs +PASS: testRefCount +PASS: testHeaders +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 20 +# PASS: 20 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 0 +# PASS: 0 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================ +PASS: debug +PASS: syntheticoperators +PASS: VirtualDeleteOperator +PASS: splay +PASS: MemPoolTest +PASS: mem_node_test +PASS: mem_hdr_test +PASS: squid.conf test: squid.conf.default +PASS: squid.conf test: regressions-3.5.0.2 +PASS: squid.conf test: regressions-3.4.0.1 +PASS: squid.conf test: empty +PASS: squid-conf-tests +============================================================================ +Testsuite summary for Squid Web Proxy 3.5.5 +============================================================================ +# TOTAL: 8 +# PASS: 8 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 +============================================================================