slabtop: Check for bad d and o option combination
If you run slabtop with the -d option and then -o option the delay gets set to zero and it runs forever. slabtop now checks for this combination and errors. Adding a DEJAGNU test also found that none of the slabtop checks were running so they got added to the list and only the ones that need /proc/slabinfo (if not readable) are skipped. References: #160
This commit is contained in:
@@ -31,6 +31,7 @@ DEJATOOL += \
|
||||
pkill \
|
||||
ps \
|
||||
pwdx \
|
||||
slabtop \
|
||||
uptime \
|
||||
vmstat \
|
||||
w
|
||||
@@ -51,6 +52,7 @@ EXTRA_DIST = \
|
||||
ps.test/ps_personality.exp \
|
||||
ps.test/ps_sched_batch.exp \
|
||||
pwdx.test/pwdx.exp \
|
||||
slabtop.test/slabtop.exp \
|
||||
uptime.test/uptime.exp \
|
||||
vmstat.test/vmstat.exp \
|
||||
w.test/w.exp
|
||||
|
||||
Reference in New Issue
Block a user