diff options
author | Kay Ramme <kr@openoffice.org> | 2001-10-05 07:00:22 +0000 |
---|---|---|
committer | Kay Ramme <kr@openoffice.org> | 2001-10-05 07:00:22 +0000 |
commit | 9eea111081a1a2ac31ec6579c5c15d4980954db1 (patch) | |
tree | b1401878cff7e69425e8e4b491a8af3f62867f2f /sal/test | |
parent | 80488e05391ac7e26c7374efa7ce9a0c2d9245b0 (diff) |
added symbol lookup fallback to application rc (#88338#)
Diffstat (limited to 'sal/test')
-rwxr-xr-x | sal/test/bootstrap.pl | 27 | ||||
-rw-r--r-- | sal/test/makefile.mk | 10 | ||||
-rw-r--r-- | sal/test/testbootstrap.ini | 3 |
3 files changed, 34 insertions, 6 deletions
diff --git a/sal/test/bootstrap.pl b/sal/test/bootstrap.pl index 9b70878d3073..538ba23c004a 100755 --- a/sal/test/bootstrap.pl +++ b/sal/test/bootstrap.pl @@ -5,9 +5,9 @@ eval 'exec perl -wS $0 ${1+"$@"}' # # $RCSfile: bootstrap.pl,v $ # -# $Revision: 1.1 $ +# $Revision: 1.2 $ # -# last change: $Author: kr $ $Date: 2001-08-30 12:17:44 $ +# last change: $Author: kr $ $Date: 2001-10-05 08:00:22 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -116,6 +116,29 @@ if (!$rc) { $state = 0; } + +if ($ENV{GUI} eq "WNT") { + $rc = system "./testbootstrap", "inherited_value", '-env:MYBOOTSTRAPTESTVALUE=$INHERITED_VALUE', "-env:iniName=ini.ini"; +} +else { + $rc = system "./testbootstrap", "inherited_value", '-env:MYBOOTSTRAPTESTVALUE=$INHERITED_VALUE', "-env:iniName=inirc"; +} +if (!$rc) { + $comment = $comment . "inherited value not passed\n"; + $state = 0; +} + +if ($ENV{GUI} eq "WNT") { + $rc = system "./testbootstrap", "inherited_overwritten_value", '-env:MYBOOTSTRAPTESTVALUE=$INHERITED_OVERWRITTEN_VALUE', "-env:iniName=ini.ini"; +} +else { + $rc = system "./testbootstrap", "inherited_overwritten_value", '-env:MYBOOTSTRAPTESTVALUE=$INHERITED_OVERWRITTEN_VALUE', "-env:iniName=inirc"; +} +if (!$rc) { + $comment = $comment . "inherited overwritten value not passed\n"; + $state = 0; +} + delete $ENV{MYBOOTSTRAPTESTVALUE}; diff --git a/sal/test/makefile.mk b/sal/test/makefile.mk index c35ef8c833b1..d7d1c1a0f669 100644 --- a/sal/test/makefile.mk +++ b/sal/test/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.10 $ +# $Revision: 1.11 $ # -# last change: $Author: jbu $ $Date: 2001-09-26 16:42:06 $ +# last change: $Author: kr $ $Date: 2001-10-05 08:00:22 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -127,14 +127,16 @@ $(BIN)$/$(APP2TARGET).exe : $(APP2TARGETN) cp $(APP2TARGETN) $@ $(BIN)$/inirc: - echo "MYBOOTSTRAPTESTVALUE=auxaux" > $@ + echo "MYBOOTSTRAPTESTVALUE=auxaux" > $@ + echo "INHERITED_OVERWRITTEN_VALUE=inherited_overwritten_value" >> $@ .ELSE ALL: $(BIN)$/ini.ini $(BIN)$/ini.ini: - echo MYBOOTSTRAPTESTVALUE=auxaux > $@ + echo MYBOOTSTRAPTESTVALUE=auxaux > $@ + echo INHERITED_OVERWRITTEN_VALUE=inherited_overwritten_value >> $@ .ENDIF diff --git a/sal/test/testbootstrap.ini b/sal/test/testbootstrap.ini index 3c02875cd483..2cf7b667cd91 100644 --- a/sal/test/testbootstrap.ini +++ b/sal/test/testbootstrap.ini @@ -1 +1,4 @@ MYBOOTSTRAPTESTVALUE=file +INHERITED_VALUE=inherited_value +INHERITED_OVERWRITTEN_VALUE=not_overwritten + |