Contents

Checking ports

In order to test a running system As an administrator I want to check processes

Background Given that "cuken/process" has been required

Scenario: Kernel extension server is running

  • Then a process named "kextd" is running

Scenario: Magical unicorn server is not running

  • Then a process named "magicalunicornd" is not running

Scenario: Kernel extension server is running and owned by root

  • Then a process named "kextd" is running and owned by "root"

Scenario: List of processes are running

  • Then these processes are running:
    name
    kextd
    notifyd
    syslogd

Scenario: List of processes are running and properly owned

  • Then these processes are running:
    nameowner
    kextdroot
    notifydroot
    syslogdroot

Scenario: List of processes are running and properly owned with specific pids:

  • Then these processes are running and stable:
    nameownerpid
    kextdroot10
    notifydroot14
    syslogdroot20

Source: features/process_examples/process.feature at commit efec2546, Cuken (Apache-2.0 license).