]> granicus.if.org Git - procps-ng/commit
Fix pmap -x test in when sizeof(KLONG) != 8
authorGilles Espinasse <g.esp@free.fr>
Tue, 8 May 2012 13:01:53 +0000 (15:01 +0200)
committerCraig Small <csmall@enc.com.au>
Tue, 8 May 2012 12:55:23 +0000 (22:55 +1000)
commitbe1bb68c55f82392e14c67a8d56c277af89bbb4f
tree3a4f81342d375388a069d2ddde81173e243c2da2
parente6bc6297564c953edfe7c342da8a6e5ca9436156
Fix pmap -x test in when sizeof(KLONG) != 8

-x test should have work only in sizeof(KLONG) == 8 case where 3 numbers are printed
In sizeof(KLONG) != 8, only one number and three '-' are printed, so allow '-' character

I am compiling x86 32bits userspace, so I should be in (sizeof(KLONG) != 8) case

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
testsuite/pmap.test/pmap.exp