| | |
| | | |
| | | <sequence> |
| | | |
| | | <!--- Import all the shared libraries |
| | | may be we should have a loadlibs.xml to |
| | | load all the libs --> |
| | | <!--- Import all the shared xml libraries --> |
| | | <import machine="'%s' % (STAF_LOCAL_HOSTNAME)" |
| | | file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)" /> |
| | | |
| | |
| | | <import machine="'%s' % (STAF_LOCAL_HOSTNAME)" |
| | | file="'%s/security.xml' % (TESTS_FUNCTIONS_DIR)" /> |
| | | |
| | | <!-- Load in any standard python libraries --> |
| | | <script> |
| | | import re |
| | | import posixpath |
| | | import sys |
| | | </script> |
| | | |
| | | <!-- Load in any standard python functions --> |
| | | <script> |
| | | from time import localtime,strftime |
| | | </script> |
| | | |
| | | <!-- Resolve any OS related variables --> |
| | | <call function="'setOSvariables'"> |
| | | { 'hostname' : STAF_REMOTE_HOSTNAME } |
| | | </call> |
| | | |
| | | <!-- XXXX this needs some cleanup XXXX --> |
| | | <script> |
| | | import re |
| | | STAXLogMessage = 1 |
| | | LogDir='%s' % TMPDIR |
| | | SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME) |
| | | DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME) |
| | | OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME) |
| | |
| | | else: |
| | | fileExt='' |
| | | </script> |
| | | |
| | | <!-- Load in the local shared python objects from libraries --> |
| | | <script> |
| | | sys.path.append("%s/python" % TESTS_SHARED_DIR ) |
| | | from common import * |
| | | </script> |
| | | |
| | | <!-- Initialize any global variables --> |
| | | <script> |
| | | CurrentTestPath={} |
| | | </script> |
| | | |
| | | <!--- The Functional Tests --> |
| | | <import machine="'%s' % (STAF_LOCAL_HOSTNAME)" |
| | | file="'%s/testcases/setup/setup.xml' % (TESTS_DIR)" /> |