ctdb-tests: Avoid creating files in /tmp.
authorMartin Schwenke <martin@meltin.net>
Tue, 13 Feb 2018 00:55:07 +0000 (11:55 +1100)
committerMartin Schwenke <martins@samba.org>
Thu, 1 Mar 2018 18:39:15 +0000 (19:39 +0100)
commit86f6481e996bb65cd71f7a946aec4964c89599d5
tree4051aa4868d5ceb18624f704c2f9a241e4c1e412
parente0e6e40d17da94d0e8688c01701d222f72343aac
ctdb-tests: Avoid creating files in /tmp.

Temporary test data should all go somewhere under TEST_VAR_DIR instead
of in the global /tmp.  The existing mktemp could be changed so the
data goes into the test directory but mktemp is overkill in this case.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/eventscripts/stubs/ip