[s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.
authorMichael Adam <obnox@samba.org>
Tue, 21 Oct 2008 21:24:44 +0000 (23:24 +0200)
committerMichael 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

index 0962ca076428accf73acf1da1dafb974fb4ba257..6ea27945374c4fc1577a5f00e6f6144a66fa4ccb 100755 (executable)
@@ -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]