ganeti

Safe HaskellNone

Test.AutoConf

Description

Unittests for AutoConf

Synopsis

Documentation

isFilePath :: String -> BoolSource

'isFilePath x' tests whether x is a valid filepath

A valid filepath must be absolute and must not contain commas.

isGntScript :: String -> BoolSource

'isGntScript x' tests whether x is a valid Ganeti script

A valid Ganeti script is prefixed by gnt- and the rest of the String contains only alphabetic Chars.

isGroup :: String -> BoolSource

'isGroup x' tests whether x is a valid group name

A valid group name name is an alphabetic String possibly containing -.

isProgram :: String -> BoolSource

'isProgram x' tests whether x is a valid program name

A valid program name is an alphabetic String.

isUser :: String -> BoolSource

'isUser x' tests whether x is a valid username

See isGroup.

case_kvmPath :: AssertionSource

case_ipPath :: AssertionSource

case_toolsdir :: AssertionSource

case_sharedir :: AssertionSource

case_rapiUser :: AssertionSource

case_mondUser :: AssertionSource