NAME
Test::BDD::Infrastructure::Filesystem - cucumber step definitions for checking file systems
VERSION
version 1.005
Description
This step definitions use the output of the df(1) command to check filesystems.
Synopsis
Scenario: There must be enought space for the mail queue
Given a filesystem is mounted on /var/spool/postfix
Then the filesystems type must be rootfs
And the filesystems free space must be more than 200 megabyte
And the filesystems usage must be less than 90 percent
Step definitions
First select an path to check:
Given a filesystem is mounted on <path>
Then check parameters with:
Then the filesystem(s) (device|type|mount point) must be (like) <regex>
Then the filesystem(s) (device|type|mount point) must be (unlike|not like) <regex>
Then the filesystem(s) (blocks|size|used space|free space|usage) must be <compare> <count>
Then the filesystem(s) (blocks|size|used space|free space|usage) must be <compare> <count> <unit>
AUTHOR
Markus Benning <ich@markusbenning.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Markus Benning.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.