summaryrefslogtreecommitdiffstats
path: root/tests/zvm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/zvm')
-rw-r--r--tests/zvm/proc/cpuinfo5
-rw-r--r--tests/zvm/proc/self/status49
-rwxr-xr-xtests/zvm/sbin/dmidecode3
-rwxr-xr-xtests/zvm/sbin/id2
-rwxr-xr-xtests/zvm/sbin/virt-what-cpuid-helper2
5 files changed, 61 insertions, 0 deletions
diff --git a/tests/zvm/proc/cpuinfo b/tests/zvm/proc/cpuinfo
new file mode 100644
index 0000000..e252daf
--- /dev/null
+++ b/tests/zvm/proc/cpuinfo
@@ -0,0 +1,5 @@
+vendor_id : IBM/S390
+# processors : 1
+bogomips per cpu: 11061.00
+features : esan3 zarch stfle msa ldisp eimm dfp etf3eh highgprs
+processor 0: version = FF, identification = 15C5C2, machine = 2097
diff --git a/tests/zvm/proc/self/status b/tests/zvm/proc/self/status
new file mode 100644
index 0000000..de400c0
--- /dev/null
+++ b/tests/zvm/proc/self/status
@@ -0,0 +1,49 @@
+Name: cat
+State: R (running)
+Tgid: 8722
+Pid: 8722
+PPid: 569
+TracerPid: 0
+Uid: 0 0 0 0
+Gid: 0 0 0 0
+Utrace: 0
+FDSize: 256
+Groups: 0 1 2 3 4 6 10
+VmPeak: 99096 kB
+VmSize: 99096 kB
+VmLck: 0 kB
+VmHWM: 564 kB
+VmRSS: 564 kB
+VmData: 176 kB
+VmStk: 136 kB
+VmExe: 48 kB
+VmLib: 98720 kB
+VmPTE: 14 kB
+VmSwap: 0 kB
+Threads: 1
+SigQ: 0/7958
+SigPnd: 0000000000000000
+ShdPnd: 0000000000000000
+SigBlk: 0000000000000000
+SigIgn: 0000000000000000
+SigCgt: 0000000000000000
+CapInh: 0000000000000000
+CapPrm: ffffffffffffffff
+CapEff: ffffffffffffffff
+CapBnd: ffffffffffffffff
+Cpus_allowed: ffffffff,ffffffff
+Cpus_allowed_list: 0-63
+Mems_allowed: 1
+Mems_allowed_list: 0
+task: 000000007c0fae50, ksp: 000000007c3d3eb8
+User PSW : 0705c00180000000 00000200001336b8
+User GPRS: 000003ff00000000 00000200001f3748 0000000000000003 000000008000f000
+ 0000000000008000 000000008000e020 0000000000000000 000003ffffaa75e0
+ 0000000000008000 0000000000000001 000000008000f000 0000000000000003
+ 000000008000c348 0000000000008000 0000000080006746 000003ffffaa70b8
+User ACRS: 00000200 00223f10 00000000 00000000
+ 00000000 00000000 00000000 00000000
+ 00000000 00000000 00000000 00000000
+ 00000000 00000000 00000000 00000000
+voluntary_ctxt_switches: 0
+nonvoluntary_ctxt_switches: 0
diff --git a/tests/zvm/sbin/dmidecode b/tests/zvm/sbin/dmidecode
new file mode 100755
index 0000000..f005a9b
--- /dev/null
+++ b/tests/zvm/sbin/dmidecode
@@ -0,0 +1,3 @@
+#!/bin/sh -
+# dmidecode is not available on Fedora on s/390
+exit 1
diff --git a/tests/zvm/sbin/id b/tests/zvm/sbin/id
new file mode 100755
index 0000000..6c704ac
--- /dev/null
+++ b/tests/zvm/sbin/id
@@ -0,0 +1,2 @@
+#!/bin/sh -
+echo 0
diff --git a/tests/zvm/sbin/virt-what-cpuid-helper b/tests/zvm/sbin/virt-what-cpuid-helper
new file mode 100755
index 0000000..b446009
--- /dev/null
+++ b/tests/zvm/sbin/virt-what-cpuid-helper
@@ -0,0 +1,2 @@
+#!/bin/sh -
+echo