From: Michael Adam Date: Tue, 21 Oct 2008 21:24:44 +0000 (+0200) Subject: [s3]test: fix testparm_s3 tests: don't create truncated smb.conf files. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=268caef85e831208aeebcd4d2d45baa5ed5025cb;p=abartlet%2Fsamba.git%2F.git [s3]test: fix testparm_s3 tests: don't create truncated smb.conf files. Use whole argument string in test_one_global_option(), not only first. Michael --- diff --git a/source3/script/tests/test_testparm_s3.sh b/source3/script/tests/test_testparm_s3.sh index 0962ca07642..6ea27945374 100755 --- 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() { - OPTION=$1 + OPTION="$@" rm -f ${TEMP_CONFFILE} cat > ${TEMP_CONFFILE}<