Fix tests: Add /proc/self/status to test roots.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Jan 2011 16:21:23 +0000 (16:21 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Jan 2011 16:21:23 +0000 (16:21 +0000)
Note that in two cases (esx4.1, qemu) this is an empty
file because we haven't collected this data yet.

Makefile.am
tests/baremetal/proc/self/status [new file with mode: 0644]
tests/esx4.1/proc/self/status [new file with mode: 0644]
tests/kvm/proc/self/status [new file with mode: 0644]
tests/qemu/proc/self/status [new file with mode: 0644]

index b193d63..43dc91e 100644 (file)
@@ -19,18 +19,22 @@ EXTRA_DIST = \
        virt-what.in \
        virt-what.pod \
        tests/baremetal/proc/cpuinfo \
+       tests/baremetal/proc/self/status \
        tests/baremetal/sbin/dmidecode \
        tests/baremetal/sbin/id \
        tests/baremetal/sbin/virt-what-cpuid-helper \
        tests/esx4.1/proc/cpuinfo \
+       tests/esx4.1/proc/self/status \
        tests/esx4.1/sbin/dmidecode \
        tests/esx4.1/sbin/id \
        tests/esx4.1/sbin/virt-what-cpuid-helper \
        tests/kvm/proc/cpuinfo \
+       tests/kvm/proc/self/status \
        tests/kvm/sbin/dmidecode \
        tests/kvm/sbin/id \
        tests/kvm/sbin/virt-what-cpuid-helper \
        tests/qemu/proc/cpuinfo \
+       tests/qemu/proc/self/status \
        tests/qemu/sbin/dmidecode \
        tests/qemu/sbin/id \
        tests/qemu/sbin/virt-what-cpuid-helper \
diff --git a/tests/baremetal/proc/self/status b/tests/baremetal/proc/self/status
new file mode 100644 (file)
index 0000000..ed4a238
--- /dev/null
@@ -0,0 +1,39 @@
+Name:  cp
+State: R (running)
+Tgid:  32449
+Pid:   32449
+PPid:  26492
+TracerPid:     0
+Uid:   500     500     500     500
+Gid:   500     500     500     500
+Utrace:        0
+FDSize:        256
+Groups:        10 500 
+VmPeak:          113756 kB
+VmSize:          113756 kB
+VmLck:        0 kB
+VmHWM:      848 kB
+VmRSS:      848 kB
+VmData:             208 kB
+VmStk:      136 kB
+VmExe:      112 kB
+VmLib:     2060 kB
+VmPTE:       92 kB
+VmSwap:               0 kB
+Threads:       1
+SigQ:  0/29792
+SigPnd:        0000000000000000
+ShdPnd:        0000000000000000
+SigBlk:        0000000000000000
+SigIgn:        0000000000000000
+SigCgt:        0000000180000000
+CapInh:        0000000000000000
+CapPrm:        0000000000000000
+CapEff:        0000000000000000
+CapBnd:        ffffffffffffffff
+Cpus_allowed:  f
+Cpus_allowed_list:     0-3
+Mems_allowed:  00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
+Mems_allowed_list:     0
+voluntary_ctxt_switches:       1
+nonvoluntary_ctxt_switches:    5
diff --git a/tests/esx4.1/proc/self/status b/tests/esx4.1/proc/self/status
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/kvm/proc/self/status b/tests/kvm/proc/self/status
new file mode 100644 (file)
index 0000000..64385c3
--- /dev/null
@@ -0,0 +1,39 @@
+Name:  cat
+State: R (running)
+Tgid:  1774
+Pid:   1774
+PPid:  1751
+TracerPid:     0
+Uid:   500     500     500     500
+Gid:   500     500     500     500
+Utrace:        0
+FDSize:        256
+Groups:        492 500 
+VmPeak:          100840 kB
+VmSize:          100840 kB
+VmLck:        0 kB
+VmHWM:      512 kB
+VmRSS:      512 kB
+VmData:             180 kB
+VmStk:       88 kB
+VmExe:       44 kB
+VmLib:     1612 kB
+VmPTE:       44 kB
+VmSwap:               0 kB
+Threads:       1
+SigQ:  0/7865
+SigPnd:        0000000000000000
+ShdPnd:        0000000000000000
+SigBlk:        0000000000000000
+SigIgn:        0000000000000000
+SigCgt:        0000000000000000
+CapInh:        0000000000000000
+CapPrm:        0000000000000000
+CapEff:        0000000000000000
+CapBnd:        ffffffffffffffff
+Cpus_allowed:  1
+Cpus_allowed_list:     0
+Mems_allowed:  00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
+Mems_allowed_list:     0
+voluntary_ctxt_switches:       0
+nonvoluntary_ctxt_switches:    1
diff --git a/tests/qemu/proc/self/status b/tests/qemu/proc/self/status
new file mode 100644 (file)
index 0000000..e69de29