git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1bc916
)
s3:test: fix registry roundtrip test on older systems (usage of mktemp)
author
Michael Adam
<obnox@samba.org>
Mon, 28 Feb 2011 16:06:01 +0000
(17:06 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 28 Feb 2011 16:27:18 +0000
(17:27 +0100)
--tmpdir is not a valid option to mktemp on older systems
source3/script/tests/test_net_registry_roundtrip.sh
patch
|
blob
|
history
diff --git
a/source3/script/tests/test_net_registry_roundtrip.sh
b/source3/script/tests/test_net_registry_roundtrip.sh
index 52ce192af48df536b7a66153077a0228f5e7bbd4..eba28a6223802c272f11227f19c071f72318ee29 100755
(executable)
--- 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