features/check_zpool_capacity.feature in nagios-zfs-0.0.1 vs features/check_zpool_capacity.feature in nagios-zfs-0.1.0
- old
+ new
@@ -17,9 +17,13 @@
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%"
+
#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
#And the stdout should contain "unknown zpool foo"