diff options
author | Craig Small <csmall@enc.com.au> | 2013-12-03 22:08:30 +1100 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2013-12-03 22:08:30 +1100 |
commit | 91ff7c6e22d0490168947e7e37827b27bbace24c (patch) | |
tree | a56e2da439e530f7099d59f28051daa23c4b0a32 | |
parent | 4c464acf283b83f052af075f1190f146550c77a5 (diff) | |
download | procps-ng-91ff7c6e22d0490168947e7e37827b27bbace24c.tar.gz |
Fixed check for vmstat with stolen time
Commit a8a4a4f added stolen time to vmstat, but broke the checks as
we have another column. This commit fixes the checks
-rw-r--r-- | testsuite/vmstat.test/vmstat.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/vmstat.test/vmstat.exp b/testsuite/vmstat.test/vmstat.exp index 76ea310..fb5de14 100644 --- a/testsuite/vmstat.test/vmstat.exp +++ b/testsuite/vmstat.test/vmstat.exp @@ -7,11 +7,11 @@ set vmstat "${topdir}vmstat" # Run vmstat with no arguments set test "vmstat with no arguments" spawn $vmstat -expect_pass "$test" "^procs\[ -\]+memory\[ -\]+swap\[ -\]+io\[ -\]+system\[ -\]+cpu\[ -\]+\\s*r\\s+b\\s+swpd\\s+free\\s+buff\\s+cache\\s+si\\s+so\\s+bi\\s+bo\\s+in\\s+cs us sy id wa\\s*\(\\s+\\d+\){16}\\s*$" +expect_pass "$test" "^procs\[ -\]+memory\[ -\]+swap\[ -\]+io\[ -\]+system\[ -\]+cpu\[ -\]+\\s*r\\s+b\\s+swpd\\s+free\\s+buff\\s+cache\\s+si\\s+so\\s+bi\\s+bo\\s+in\\s+cs us sy id wa st\\s*\(\\s+\\d+\){17}\\s*$" set test "vmstat with -a flag" spawn $vmstat -a -expect_pass "$test" "^procs\[ -\]+memory\[ -\]+swap\[ -\]+io\[ -\]+system\[ -\]+cpu\[ -\]+\\s*r\\s+b\\s+swpd\\s+free\\s+inact\\s+active\\s+si\\s+so\\s+bi\\s+bo\\s+in\\s+cs us sy id wa\\s*\(\\s+\\d+\){16}\\s*$" +expect_pass "$test" "^procs\[ -\]+memory\[ -\]+swap\[ -\]+io\[ -\]+system\[ -\]+cpu\[ -\]+\\s*r\\s+b\\s+swpd\\s+free\\s+inact\\s+active\\s+si\\s+so\\s+bi\\s+bo\\s+in\\s+cs us sy id wa st\\s*\(\\s+\\d+\){17}\\s*$" set test "vmstat fork option" spawn $vmstat -f |