summaryrefslogtreecommitdiff
path: root/source3/script/tests
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-06-24 16:37:20 +0200
committerMichael Adam <obnox@samba.org>2011-06-24 23:58:23 +0200
commitc459a1d06eb43f37794b2239c80b82e2d5166639 (patch)
treea18adedcaa4a833816fdb7b1aff052c32b66ead1 /source3/script/tests
parent77e6efa45432daaabdad1b62739c41c5b2315f3d (diff)
downloadsamba-c459a1d06eb43f37794b2239c80b82e2d5166639.tar.gz
samba-c459a1d06eb43f37794b2239c80b82e2d5166639.tar.bz2
samba-c459a1d06eb43f37794b2239c80b82e2d5166639.zip
s3:test: fix the net registry roundtrip test on older systems
mktemp requires exactly Xs at the end of the template name on SLES8
Diffstat (limited to 'source3/script/tests')
-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 33114ccd4c..77b261fbba 100755
--- a/source3/script/tests/test_net_registry_roundtrip.sh
+++ b/source3/script/tests/test_net_registry_roundtrip.sh
@@ -65,7 +65,7 @@ LOGDIR_PREFIX="conf_roundtrip"
conf_roundtrip()
{
- local DIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXX)
+ local DIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXXXX)
local LOG=$DIR/log
echo conf_roundtrip $1 > $LOG