forked from pool/procps
- Switch to procps 4 branch, bsorbing the former procps4 package: + Add provides/obsoletes procps4: make zypper replace procps4 with the main package for users that manually switched. Do the final switch to procs4; the issues from 2022 (e.g. salt) should be fixed. OBS-URL: https://build.opensuse.org/request/show/1190400 OBS-URL: https://build.opensuse.org/package/show/Base:System/procps?expand=0&rev=254
39 lines
1014 B
Diff
39 lines
1014 B
Diff
---
|
|
testsuite/pmap.test/pmap.exp | 25 -------------------------
|
|
1 file changed, 25 deletions(-)
|
|
|
|
--- testsuite/pmap.test/pmap.exp
|
|
+++ testsuite/pmap.test/pmap.exp 2023-11-15 15:34:02.613151770 +0000
|
|
@@ -69,31 +69,6 @@ if { [ file readable "/proc/self/smaps"
|
|
expect_pass $test "$pmap_initname\$"
|
|
}
|
|
|
|
-
|
|
-proc expect_twice_total { test } {
|
|
- set totkb 0
|
|
- expect {
|
|
- -re "\r\n\\s+(\\d+)\[0-9 \]*KB" {
|
|
- set totkb $expect_out(1,string)
|
|
- expect {
|
|
- -re "\r\n\\s+$totkb\[0-9 \]*KB" { pass "$test" }
|
|
- eof { fail "$test" }
|
|
- timeout { fail "$test" }
|
|
- }
|
|
- }
|
|
- eof { fail "$test" }
|
|
- timeout { fail "$test" }
|
|
- }
|
|
-}
|
|
-
|
|
-set test "pmap X pid pid has same total"
|
|
-spawn $pmap -X $mypid $mypid
|
|
-expect_twice_total "$test"
|
|
-
|
|
-set test "pmap XX pid pid has same total"
|
|
-spawn $pmap -XX $mypid $mypid
|
|
-expect_twice_total "$test"
|
|
-
|
|
set test "pmap finding shm"
|
|
make_testshm_proc
|
|
if { $shmid == "" } {
|