From: serassio <> Date: Mon, 26 Dec 2005 17:16:04 +0000 (+0000) Subject: Allow "make check" with --enable-delay-pools configure option X-Git-Tag: SQUID_3_0_PRE4~431 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74925dd488ab53f823724dfbf051152fa1bf86af;p=thirdparty%2Fsquid.git Allow "make check" with --enable-delay-pools configure option --- diff --git a/src/Makefile.am b/src/Makefile.am index 4f2d9deeee..377ecfc720 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ # # Makefile for the Squid Object Cache server # -# $Id: Makefile.am,v 1.122 2005/12/18 09:23:39 serassio Exp $ +# $Id: Makefile.am,v 1.123 2005/12/26 10:16:04 serassio Exp $ # # Uncomment and customize the following to suit your needs: # @@ -1002,6 +1002,7 @@ tests_testAuth_DEPENDENCIES = $(top_builddir)/lib/libmiscutil.a \ STORE_TEST_SOURCES=\ $(TESTSOURCES) \ + $(DELAY_POOL_SOURCE) \ CacheDigest.cc \ store_dir.cc \ store.cc \ diff --git a/src/tests/stub_MemObject.cc b/src/tests/stub_MemObject.cc index 54d1f773c0..d0de9c675c 100644 --- a/src/tests/stub_MemObject.cc +++ b/src/tests/stub_MemObject.cc @@ -1,5 +1,5 @@ /* - * $Id: stub_MemObject.cc,v 1.1 2005/01/03 16:08:27 robertc Exp $ + * $Id: stub_MemObject.cc,v 1.2 2005/12/26 10:16:05 serassio Exp $ * * DEBUG: section 84 Helper process maintenance * AUTHOR: Robert Collins @@ -35,6 +35,9 @@ #include "squid.h" #include "MemObject.h" #include "HttpReply.h" +#if DELAY_POOLS +#include "DelayPools.h" +#endif off_t MemObject::endOffset () const @@ -107,6 +110,17 @@ MemObject::mostBytesWanted(int max) const return -1; } +#if DELAY_POOLS +DelayId +MemObject::mostBytesAllowed() const +{ + DelayId result; + fatal ("Not implemented"); + return result; +} + +#endif + void MemObject::unlinkRequest() { diff --git a/src/tests/stub_cache_cf.cc b/src/tests/stub_cache_cf.cc index f21ac6ac82..082574a22e 100644 --- a/src/tests/stub_cache_cf.cc +++ b/src/tests/stub_cache_cf.cc @@ -1,5 +1,5 @@ /* - * $Id: stub_cache_cf.cc,v 1.1 2004/08/30 03:29:02 robertc Exp $ + * $Id: stub_cache_cf.cc,v 1.2 2005/12/26 10:16:05 serassio Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Robert Collins @@ -33,6 +33,7 @@ */ #include "squid.h" +#include "ConfigParser.h" void self_destruct(void) @@ -122,6 +123,18 @@ strtokFile(void) return NULL; } +void +ConfigParser::ParseUShort(u_short *var) +{ + fatal("not implemented 10"); +} + +void +dump_acl_access(StoreEntry * entry, const char *name, acl_access * head) +{ + fatal("not implemented 11"); +} + /* * DO NOT MODIFY: * arch-tag: 9bbc3b5f-8d7b-4fdc-af59-0b524a785307