features/check_zpool_capacity.feature in nagios-zfs-0.1.1 vs features/check_zpool_capacity.feature in nagios-zfs-0.2.0
- old
+ new
@@ -18,11 +18,11 @@
Scenario: Capacity below thresholds
When I run `check_zpool -p tank -w 81 -c 82`
Then the status should be ok
Scenario: Display actual capacity
- When I run `check_zpool -p tank -w 79 -c 80`
- Then the stdout should contain "tank 80%"
+ When I run `check_zpool -p tank -w 81 -c 82`
+ Then the stdout should contain "80%"
#NOTE: This currently does not work!
#Scenario: Unknown zpool name
#When I run `check_zpool -p foo -w 81 -c 82`
#Then the status should be unknown