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

test019-proxycaching is broken (ITS#2619)

Full_Name: Hallvard B Furuseth
Version: HEAD
OS: Solaris
Submission from: (NULL) (
Submitted by: hallvard

test019-proxycaching is unfinished.

The test _looks_ like it is hanging, because line 78 has a statement
'WAIT=1' which makes 'make test' wait for input - without warning
the user that it does so.

If I input something, the test fails immediately afterwards.

The WAIT=1 should be removed.
If it fails on a non-experimental feature, then it should probably
simply fail for now.  Otherwise the WAIT=1 could be replaced with

  if [ -z "$some environment variable which you can set" ]; then
    clean up and exit;

Test run:

>>>>> Starting test019-proxycaching ...
running defines.sh
Cleaning up in ./test-db...
Cleaning up in ./test-cache...
Starting master slapd on TCP/IP port 9009...
Using ldapadd to populate the master directory...
Starting proxy cache on TCP/IP port 9010...
Making queries on the proxy cache...
Query 1: filter:(sn=Jon) attrs: all
ldapsearch failed (1)!
./scripts/test019-proxycaching: kill: no such process
>>>>> ./scripts/test019-proxycaching failed (exit 1)