selftest: Use selftest's TMPDIR to store the krb5 ccache in pam_winbind tests
commitdb7e296f9caf52d82f33fbeb511d8889abd60a7a
authorSamuel Cabrero <scabrero@samba.org>
Wed, 13 Apr 2022 11:20:27 +0000 (13 13:20 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 13 Apr 2022 12:59:30 +0000 (13 12:59 +0000)
treebae7b358fc755c5748f5ca9ec2b61043a0a91c32
parenta6d6ae3cfcd64a85f82ec5b12253ca0e237d95bb
selftest: Use selftest's TMPDIR to store the krb5 ccache in pam_winbind tests

Using /tmp directly can lead to errors if multiple autobuilds are
running at the same time. Using tempfile.gettempdir() will look for
$TMPDIR environment variable.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/tests.py