summaryrefslogtreecommitdiffstats
path: root/tests/zvm
Commit message (Collapse)AuthorAgeFilesLines
* Retire private id executablesSami Kerola2012-07-191-2/+0
| | | | | | | | | | | | | The main script is setting PATH to use id executable from rather strange directory. That allowed checks to run without root privilege. This change will make detection whether test run is been requested more universal, and to work without super setting id command. Signed-off-by: Sami Kerola <kerolasa@iki.fi> RWMJ: - Use -ne instead of != to compare integers.
* Add IA64-specific tests for virtualization (RHBZ#707508).Richard W.M. Jones2011-05-261-0/+2
| | | | | | | | | | | | | | | Xen IA64 HVM does not provide a simple way to detect the hypervisor. If we are lucky and PV-on-HVM drivers are installed and loaded, then there will be a /sys/bus/xen directory. Otherwise we add a timing attack to see if we can detect generic virtualization. Since this is a big hack, it is only enabled on IA64 and only used when all other methods of detection have failed. This commit also adds `uname -p` to all tests (enabling arch detection so we only run the above tests on IA64).
* Add additional facts about IBM SystemZ mainframes (thanks Dan Horák).Richard W.M. Jones2011-01-201-0/+67
| | | | | | | | | | | | | Add /proc/sysinfo from a real z/VM guest. This file can in theory be used to detect the following three arrangements: (1) Linux running in z/VM on an LPAR. (2) Linux running directly on an LPAR. (3) Linux running directly on baremetal (very unlikely!) Only arrangement (1) has been tested.
* Add test for z/VM on IBM SystemZ mainframes (thanks Dan Horák).Richard W.M. Jones2011-01-205-0/+61