Hi,

I'm running the test suite on sal code, and I until now I discovered a
problem with the default test from parameter and from custom ini. 
Running

testbootstrap defaultvalue -env:INIFILENAME= -env:Default=defaultvalue
-env:USEDEFAULT=1 

gives me:
 
rtl-commandargs (1) real args:5 (0) defaultvalue
Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx --
Bootstrap_Impl() - 

Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx -- couldn't
open file: 
Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx --
Bootstrap_Impl::getValue() - name:iniName value: result:1

Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx --
Bootstrap_Impl::getValue() - name:USEDEFAULT value:1 result:1

Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx --
Bootstrap_Impl::getValue() - name:MYBOOTSTRAPTESTVALUE value:$Default
result:1

para(defaultvalue) != value($Default)
Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx --
Bootstrap_Impl::getValue() - name:no_one_has_set_this_name value:
result:0

Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx --
Bootstrap_Impl::getValue() - name:no_one_has_set_this_name value:1
result:1

Thread:      1
:E:/rd/OpenOffice/OOo_2.0beta2/sal/rtl/source/bootstrap.cxx --
Bootstrap_Impl::getValue() - name:no_one_has_set_this_name value:2
result:1


Actually I don't understand if $Default must be expanded to
defaultvalue, or if something else is supposed to happen.

What do you think?

TIA,


Bye,

        Yuri Dario

/*
 * member of TeamOS/2 - Italy
 * http://www.os2power.com/yuri
 * http://www.teamos2.it
 */

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to