summaryrefslogtreecommitdiffstats
path: root/source3/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-02-28 17:06:01 +0100
committerMichael Adam <obnox@samba.org>2011-02-28 17:27:18 +0100
commit61c2bcdf20f83340c732a1b727b3349be7235c0c (patch)
tree1d6a65bc9acb78ce43a70b358647eefa62709d5f /source3/script
parentc1bc916507d4afcf6763fc3ffa651e1ad3a8e931 (diff)
downloadsamba-61c2bcdf20f83340c732a1b727b3349be7235c0c.tar.gz
samba-61c2bcdf20f83340c732a1b727b3349be7235c0c.tar.xz
samba-61c2bcdf20f83340c732a1b727b3349be7235c0c.zip
s3:test: fix registry roundtrip test on older systems (usage of mktemp)
--tmpdir is not a valid option to mktemp on older systems
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/test_net_registry_roundtrip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/tests/test_net_registry_roundtrip.sh b/source3/script/tests/test_net_registry_roundtrip.sh
index 52ce192af48..eba28a62238 100755
--- a/source3/script/tests/test_net_registry_roundtrip.sh
+++ b/source3/script/tests/test_net_registry_roundtrip.sh
@@ -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