20217383 squid should have its tests hooked up in the Makefile
authorRich Burridge <rich.burridge@oracle.com>
Wed, 13 Apr 2016 15:05:17 -0700
changeset 5760 ae78071b3cad
parent 5757 9c6a2daa1337
child 5761 fe100422ef26
20217383 squid should have its tests hooked up in the Makefile
components/squid/Makefile
components/squid/test/results-64.master
--- 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 <squid server URL>: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
--- /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
+============================================================================