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
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user