Dear developers, I am preparing some test cases for the samples and have a few questions on the test framework (as downloaded using SVN):
Q1: What is the purpose of the shell script setTestEnv.sh ? At least for macOS the scope of the settings will end when the script exits so they will not be persistent: Darwin) echo "Setting env for MacOS" frameworkPath=`pwd`:`pwd`/framework: export PATH=$frameworkPath$PATH export LD_LIBRARY_PATH=`pwd`/bin/DARWIN:$LD_LIBRARY_PATH Compare this test POs-MacBook-Pro:~ po$ cd ~/workspace/ooRexx-macOS1014-test POs-MacBook-Pro:ooRexx-macOS1014-test po$ echo $PATH /Users/po/Applications/ooRexx5.0.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin POs-MacBook-Pro:ooRexx-macOS1014-test po$ echo $LD_LIBRARY_PATH POs-MacBook-Pro:ooRexx-macOS1014-test po$ bash settestenv.sh Setting env for MacOS POs-MacBook-Pro:ooRexx-macOS1014-test po$ echo $PATH /Users/po/Applications/ooRexx5.0.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin POs-MacBook-Pro:ooRexx-macOS1014-test po$ echo $LD_LIBRARY_PATH POs-MacBook-Pro:ooRexx-macOS1014-test po$ In the readme the example is for AIX, is it different there than in macOS (Darwin, BSD)? I think some of these settings are redone in testOORexx.rex, maybe a better place for these settings? Q2: The following files are created in the main test directory when running all tests, should they not be cleaned out in the test where they are created? nul (text file with content foo) address-with.tmp (empty file) tempRxPrgFile.rex TestRxQueue.rex Q3: These files are also created in the main test directory when running the test, same question SecurityManagerMethod_handle.cls SecurityManagerMethod_handle_forbidden.cls SecurityManagerMethod_handle_security_manager.cls SecurityManagerMethod_pass.cls SecurityManagerMethod_replaced.cls SecurityManagerPackage_handle.cls SecurityManagerPackage_handle_forbidden.cls SecurityManagerPackage_handle_security_manager.cls SecurityManagerPackage_pass.cls SecurityManagerPackage_replaced.cls SecurityManagerRoutine_handle.cls SecurityManagerRoutine_handle_forbidden.cls SecurityManagerRoutine_handle_security_manager.cls SecurityManagerRoutine_pass.cls SecurityManagerRoutine_replaced.cls Hälsningar/Regards/Grüsse, P.O. Jonsson oor...@jonases.se
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel