s3:test: fix the net registry roundtrip test on older systems
authorMichael Adam <obnox@samba.org>
Fri, 24 Jun 2011 14:37:20 +0000 (16:37 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 24 Jun 2011 21:58:23 +0000 (23:58 +0200)
mktemp requires exactly Xs at the end of the template name on SLES8

source3/script/tests/test_net_registry_roundtrip.sh

index 33114ccd4c0c08d2e473a1c9b8cd9554eeb080e0..77b261fbbadb74f664c33c290b6479027426740e 100755 (executable)
@@ -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