(→eat-host) |
|||
| Line 15: | Line 15: | ||
== eat-host == | == eat-host == | ||
| - | This package is installed to the test control pc. It installs the ssh-key to the test control pc used to access the device under test. The package has install as it's dependencies testrunner-lite and test-definition. | + | This package is installed to the test control pc. It installs the ssh-key (id_eat_dsa) to the test control pc used to access the device under test. The package has install as it's dependencies testrunner-lite and test-definition. |
The package also installs the following scripts under /usr/bin/ | The package also installs the following scripts under /usr/bin/ | ||
Contents |
Eat is a set of packages that are used to configure environment for automated testing. The packages are
Images created for test automation should include packages eat-device and eat-syslog-device in them. These two packages enable OTS to interact with the image without human intervention. For more detailed description see below. While the packages are meant primarily to be used with test automation one can find them useful also in manual testing too.
This package is installed to the device under test. The package enabled ssh-key based authentication from a test control (e.g. OTS worker) machine to the device under test.
This package is installed to the test control pc. It installs the ssh-key (id_eat_dsa) to the test control pc used to access the device under test. The package has install as it's dependencies testrunner-lite and test-definition.
The package also installs the following scripts under /usr/bin/
This clears the /var/log/testrun.log and it should be called before making a new test run.
Adds the ssh key used with test automation to the user executing the script. Note the the key is installed automatically for the root user.
Removes the ssh key used with test automation from the user executing the script.
This package is installed to the device under test. The package configures the device's syslog so that it is sent to the test control pc.
This package is installed to the test control pc. The package configures the PC's syslog to receive messages from the device under tests. The syslog messages are stored to /var/log/testrun.log
This package installs an init script to the device under test that runs all test packages found in the device at boot time. The package also installs testrunner-lite and test-definition as it's dependencies. Please note that using this is not the preferred way to do testing. The package is currently more of an case study than something actually meant for day-to-day testing.