summaryrefslogtreecommitdiff
path: root/testsuite/vmstat.test
diff options
context:
space:
mode:
authorCraig Small <csmall@enc.com.au>2011-12-04 00:50:36 +1100
committerCraig Small <csmall@enc.com.au>2011-12-04 00:50:36 +1100
commite7a0fe5beeaa2d3219f810c13fad43497b0965d8 (patch)
tree2cc8df2d6c8288a8b7c0baf95728859306d3a81e /testsuite/vmstat.test
parent3d807ae853b8b4264da156065b34f1447658a8ba (diff)
downloadprocps-ng-e7a0fe5beeaa2d3219f810c13fad43497b0965d8.tar.gz
Fixing tests due to some results
Makefile will now only test for Linux systems, a work around in the makefile due to some silly redefine restrictions. uptime and w now won't error due to being one user logged in, thanks to Sami for the patch kill processes by pid test commented out due to false negatives pwdx process 1 check also commented out due to false negatives
Diffstat (limited to 'testsuite/vmstat.test')
-rw-r--r--testsuite/vmstat.test/vmstat.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/vmstat.test/vmstat.exp b/testsuite/vmstat.test/vmstat.exp
index 0adf75a..aa1707f 100644
--- a/testsuite/vmstat.test/vmstat.exp
+++ b/testsuite/vmstat.test/vmstat.exp
@@ -29,7 +29,7 @@ expect_pass "$test" "^disk\[ -\]+reads\[ -\]+writes\[ -\]+IO\[ -\]+\\s+total\\s+
# Need a partition
set diskstats [ exec cat /proc/diskstats ]
regexp "\\s+\\d+\\s+\\d+\\s+\(\[a-z\]+\\d+\)" $diskstats -> partition
-set test "vmstat partition"
+set test "vmstat partition (using $partition)"
spawn $vmstat -p $partition
expect_pass "$test" "^${partition}\\s+reads"
#\\s+read sectors\\s+writes\\s+requested writes"