Minor test fixes for non-linux

procps works well on Linux, on other arches there are some strange
differences due to their emulation of procfs which is not 100%
Disabling checks for non-linux until that can be sorted out.
This commit is contained in:
Craig Small
2011-12-03 00:32:14 +11:00
parent 4725fc735e
commit 3d807ae853
5 changed files with 27 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ set slabtop_header "^ $avst Objects $used \\d+ / \\d+ ${pct}\\s+$avst Slabs $use
set test "slabtop help"
spawn $slabtop --help
expect_pass $test "usage: $slabtop \\\[options\\\]"
expect_pass $test "usage: \\S+ \\\[options\\\]"
set sort_tests {
"a" "active objects" "^\\d+\\s+(\\d+)\\s+\\d+%\\s+\\d+\\.\\d+K\\s+\\d+\\s+\\d+\\s+\\d+K\\s+\\S\[^\r\]+\\s*"