NAME

Test::BDD::Infrastructure::Swap - cucumber step definitions for checking swap usage

VERSION

version 1.005

Description

This step definitions check linux swap usage.

Synopsis

  Scenario: Swap space must be present
    Given swap is configured
    Then there must be at least 1 swap space configured
    And the swap size must be at least 1 gigabyte
    And the swap usage must be less than 50 percent

Step definitions

Start with:

  Given swap is configured

Followed by conditions:

  Then there must be <compare> <count> swap(s) (spaces) configured
  Then the swap(s) (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.