File procps-ng-4.0.4-pmapX-not-twice-anymore.patch of Package procps

---
 testsuite/pmap.test/pmap.exp |   25 -------------------------
 1 file changed, 25 deletions(-)

--- testsuite/pmap.test/pmap.exp
+++ testsuite/pmap.test/pmap.exp	2024-12-19 15:07:47.150871855 +0000
@@ -74,31 +74,6 @@ if  { [ file readable "/proc/self/smaps"
     }
 }
 
-
-proc expect_twice_total { test } {
-    set totkb 0
-    expect {
-        -re "\r\n\\s+(\\d+)\\s+.*KB" {
-            set totkb $expect_out(1,string)
-            expect {
-                -re "\r\n\\s+$totkb\[0-9 \]*KB" { pass "$test" }
-                eof { fail "$test: first match" }
-                timeout { fail "$test: first match" }
-            }
-        }
-        eof { fail "$test: second match" }
-        timeout { fail "$test: second match" }
-    }
-}
-
-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 == "" } {
openSUSE Build Service is sponsored by