]> granicus.if.org Git - procps-ng/commit
tests: fix dejagnu pwdx and vmstat checks
authorSami Kerola <kerolasa@iki.fi>
Thu, 9 Feb 2012 20:18:14 +0000 (21:18 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 11 Feb 2012 20:42:21 +0000 (21:42 +0100)
commit4d8f9522a7cdada686dce1769d2f397b5c6488ee
tree554d6ffe68d74e3fdee66054f866882bcbfc3fe4
parentce1410a51a624a91816fcc8c232c8a4d60b09638
tests: fix dejagnu pwdx and vmstat checks

The pwdx check expected error message, which where in use for only
short period of time.  The old message was put in place in commit
9d47cb0c38137581a46951fb7c6fa2a1dc8c24cf

The vmstat issue was triggered by 'sr0' cdrom device, which gives
following unexpected output.  Fix simply ignores partitions which has
zero activity.  Besides such partitions probably would not apply as
good candidate of -p option anyway.

$ vmstat -p sr0
Partition was not found

Reported-By: Moritz Muehlenhoff <jmm@debian.org>
Bug-Debian: http://bugs.debian.org/656508
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
testsuite/pwdx.test/pwdx.exp
testsuite/vmstat.test/vmstat.exp