git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
65ca8eb
)
[s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.
author
Michael Adam
<obnox@samba.org>
Tue, 21 Oct 2008 21:24:44 +0000
(23:24 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 27 Oct 2008 12:02:36 +0000
(13:02 +0100)
Use whole argument string in test_one_global_option(), not only first.
Michael
source3/script/tests/test_testparm_s3.sh
patch
|
blob
|
history
diff --git
a/source3/script/tests/test_testparm_s3.sh
b/source3/script/tests/test_testparm_s3.sh
index 0962ca076428accf73acf1da1dafb974fb4ba257..6ea27945374c4fc1577a5f00e6f6144a66fa4ccb 100755
(executable)
--- a/
source3/script/tests/test_testparm_s3.sh
+++ b/
source3/script/tests/test_testparm_s3.sh
@@
-26,7
+26,7
@@
EOF
test_one_global_option()
{
test_one_global_option()
{
- OPTION=
$1
+ OPTION=
"$@"
rm -f ${TEMP_CONFFILE}
cat > ${TEMP_CONFFILE}<<EOF
[global]
rm -f ${TEMP_CONFFILE}
cat > ${TEMP_CONFFILE}<<EOF
[global]