diff options
author | Michael Adam <obnox@samba.org> | 2011-02-28 17:06:01 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-02-28 17:27:18 +0100 |
commit | 61c2bcdf20f83340c732a1b727b3349be7235c0c (patch) | |
tree | 1d6a65bc9acb78ce43a70b358647eefa62709d5f /source3/script/tests | |
parent | c1bc916507d4afcf6763fc3ffa651e1ad3a8e931 (diff) | |
download | samba-61c2bcdf20f83340c732a1b727b3349be7235c0c.tar.gz samba-61c2bcdf20f83340c732a1b727b3349be7235c0c.tar.bz2 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/tests')
-rwxr-xr-x | source3/script/tests/test_net_registry_roundtrip.sh | 2 |
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 52ce192af4..eba28a6223 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 |