Ingvar Hagelund wrote: ...
But when I run the test suite from within rpmbuild, most of the tests fails or hangs every time, and the problem seems to be related to some missing communication between the test scripts and the test server process.
If I remove the comment on %{__make} check and build varnish, it doesn't run any checks at all. It just complains about a missing libvarnish.so.0:
... make[2]: Entering directory `/usr/src/redhat/BUILD/varnish-cache/bin/varnishtest' /usr/bin/make check-TESTS make[3]: Entering directory `/usr/src/redhat/BUILD/varnish-cache/bin/varnishtest' /usr/src/redhat/BUILD/varnish-cache/bin/varnishtest/.libs/lt-varnishtest: error while loading shared libraries: libvarnish.so.0: cannot open shared object file: No such file or directory FAIL: ./tests/a00000.vtc ...
So is the build system using an already installed libvarnish.so.0 if one is available and not the newly built libvarnish.so.0?
Mogens