strongSwan UML - Running the testsContents1. Starting up the UML testing environmentWhen the strongSwan UML testing environment has been put into place by running the make-testing script then you are ready to start up the UML instances by callingThis main script first calls the subscript that starts the three UML switches umlswitch0, umlswitch1, and umlswitch2 which are connecting the UML instances among each other and also make them accessible from the host system via tun/tapdevices. Then depending on the setting of the UMLSTARTMODE variable defined in testing.conf, the UML instances given on the command line are started up with different terminals: If you are running the KDE graphical environment then by setting the script is called which starts up each of the UML instances defined by <hosts> in a KDE konsole. If is set then starts up the UML instances in an xterm each. And with the choice the instances are started up by in the background but the Linux command screen -r <host>" can be used to connect a terminal to the UML instance <host> if desired. either executes all the tests defined in the testing/tests directory if the variable SELECTEDTESTSONLY in testing.conf is set to "no" or the selected tests defined by the string in SELELECTEDTESTS if SELECTEDTESTSONLY is set to "yes". stops the both the UML switches and the UML instances designated by the <hosts> argument. 2. Running the automated testsThe scriptruns the automated tests. With an empty <testnames> argument the tests as defined in testing.conf are executed, otherwise the tests enumerated by the <testnames> argument will be run as shown in the example below. Each test is divided into the following phases:
the same results are also automatically transferred to the Apache server running on UML instance winnetou and can be accessed via the URL
3. Manual testingThe greates flexibility can be achieved with manual testing. Just setin testing.conf and start the UML instances that you want to experiment with by calling If you want to preload a test scenario with configurations differing from the default values, e.g. when using Preshared Keys then you can do this with the command You can then log onto any UML instance using its konsole, xterm or screen terminal as root with the default password You can then execute any commands the UML instances, including changing and recompiling the strongSwan source code located in the /root directory. After you have finished testing, the default configuration settings can restored with the command
|
|
|
|
|
| 21.12.2004 info@strongsec.net | UML |