Lines Matching refs:events
27 # Verify the number of IO and checksum events match the error counters
34 # number of error events.
58 log_must zpool events -c
65 log_assert "Check that the number of zpool errors match the number of events"
69 # Set our thresholds high so we never ratelimit or drop events.
89 log_must zpool events -c
118 events=$(zpool events | grep -c checksum)
122 allevents=$(zpool events | grep io)
123 events=$(echo "$allevents" | wc -l)
133 if [ -z "$val" -o $val -eq 0 -o -z "$events" -o $events -eq 0 ] ; then
134 log_fail "Didn't see any errors or events ($val/$events)"
137 if [ $val -ne $events ] ; then
138 log_fail "$val $POOLTYPE $str errors != $events events"
140 log_note "$val $POOLTYPE $str errors == $events events"
153 log_pass "The number of errors matched the number of events"