[PATCH] Option to choose another root tmp-directory in varnishtest & make check

Geoff Simmons geoff at uplex.de
Mon Sep 30 21:11:58 CEST 2013


Hello all,

The attached patch adds an option '-m tmpdir' to varnishtest, which sets
the directory within which the vtc.* temp directories are created for
each test, previously hard-wired to /tmp (-t was already taken).

This became necessary for me because Varnish was being built on a build
server for which /tmp was mounted with the noexec option. That caused
'make check' to fail, because some of the tests save shared objects into
a temp directory and then attempt to load them.

The Makefile for varnishtest is patched so that if you have TMPDIR
defined in the environment before 'make check' is called, then
varnishtest uses that, otherwise it uses /tmp.


Best,
Geoff
-- 
** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753

http://uplex.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Option-to-choose-another-root-tmp-directory-in-varni.patch
Type: text/x-patch
Size: 2625 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20130930/ec890c57/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20130930/ec890c57/attachment.pgp>


More information about the varnish-dev mailing list