]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: travis: TMPDIR replacement.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 3 May 2019 17:16:02 +0000 (19:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 May 2019 06:10:07 +0000 (08:10 +0200)
commit6c06815751107019a4168c279cdee02be1b389f5
tree42a21cb8df3fe9da8c755efb8723f0f8353bb5c6
parent17641a7fbf35fad6d07104b206f8f78f3fc7bb6f
BUILD: travis: TMPDIR replacement.

TMPDIR default value may be too long to create UNIX sockets for the stats
used during the reg tests. Indeed vtest builds its temporary working directory
${tmpdir} variable from TMPDIR variable, with /tmp as value if not already set.
This is the case on Linux contrary to OS X which sets TMPDIR with a too much long
value.

With this path we revert the part of 88c63a6 commit which tried to shorten this
TMPDIR value modifying script/run-regtests.sh. Unfortunately this was not
sufficient. Furthermore this patch force TMPDIR to /tmp value for all the OS'es.

Thank you to Tim Düsterhus and Ilya for having helped on this issue.
.travis.yml