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

Re: (ITS#5893) test scripts should stop immediately if slapd crashed



Pierangelo Masarati wrote:
> hyc@symas.com wrote:
>> michael@stroeder.com wrote:
>>> Full_Name: karlsruhe
>>> Version: HEAD
>>> OS: Linux
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (84.163.100.169)
>>>
>>>
>>> Currently test039-glue-ldap-concurrency fails with a lot of these messages (see
>>> below). Maybe the test scripts could be modified to detect this situation and
>>> stop immediately.
>> Normally the tester programs will stop immediately on any error. test036 and
>> test039 invoke slapd-tester with -FF which causes slapd-bind to ignore errors.
>> (Note that test008 doesn't use -FF.)
>>
>> Seems to me that test036/039 would both work fine if they just added -i
>> INVALID_CREDENTIALS to the TESTER invocation, instead of using -FF.
>>
>> Ando, what do you think?
>
> Not right now: -i is already used with negation ("!").  Negation needs
> to move on a per-value basis, or something like that (if I0m reading
> that code fine).  I'll look at it, maybe later.

I saw that, but it seems that multiple -i options work.
-i !xx  -i yy

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