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 == "" } {
|