[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4491) test020-proxycache flunks --disable-debug



h.b.furuseth@usit.uio.no wrote:
> Full_Name: Hallvard B Furuseth
> Version: HEAD
> OS: 
> URL: 
> Submission from: (NULL) (129.240.186.42)
> Submitted by: hallvard
>
>
> test020-proxycache tests for "cacheability" and "answerability"
> by grepping the server log.  This breaks with --disable-debug
> or if $SLAPD_DEBUG excludes the loglevel which logs that info.
>
> If this must be tested by checking the log, grep the log for
> something else which is logged with the same loglevel, and skip
> those checks if that is absent.
>   
OK. Skipping those checks makes the test pointless, since there is no 
other way to verify that the cache did any work. I've patched the test 
script to abort the test (with exit status 0) in this case.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/