1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s3:test: fix registry roundtrip test on older systems (usage of mktemp)

--tmpdir is not a valid option to mktemp on older systems
This commit is contained in:
Michael Adam
2011-02-28 17:06:01 +01:00
parent c1bc916507
commit 61c2bcdf20

View File

@ -59,7 +59,7 @@ LOGDIR_PREFIX="conf_roundtrip"
conf_roundtrip()
{
local DIR=$(mktemp -d --tmpdir=$PREFIX ${LOGDIR_PREFIX}_XXXX)
local DIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXX)
local LOG=$DIR/log
echo conf_roundtrip $1 > $LOG