ganeti
Safe HaskellNone

Test.AutoConf

Description

Unittests for AutoConf

Synopsis

Documentation

isFilePath :: String -> Bool Source #

'isFilePath x' tests whether x is a valid filepath

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

isGntScript :: String -> Bool Source #

'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 -> Bool Source #

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

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

isProgram :: String -> Bool Source #

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

A valid program name is an alphabetic String.

isUser :: String -> Bool Source #

'isUser x' tests whether x is a valid username

See isGroup.

case_sysconfdir :: Assertion Source #

case_exportDir :: Assertion Source #

case_xenKernel :: Assertion Source #

case_xenInitrd :: Assertion Source #

case_kvmKernel :: Assertion Source #

case_kvmPath :: Assertion Source #

case_ipPath :: Assertion Source #

case_socatPath :: Assertion Source #

case_toolsdir :: Assertion Source #

case_gntScripts :: Assertion Source #

case_pkglibdir :: Assertion Source #

case_sharedir :: Assertion Source #

case_adminGroup :: Assertion Source #

case_rapiUser :: Assertion Source #

case_rapiGroup :: Assertion Source #

case_confdUser :: Assertion Source #

case_confdGroup :: Assertion Source #

case_luxidUser :: Assertion Source #

case_luxidGroup :: Assertion Source #

case_nodedUser :: Assertion Source #

case_nodedGroup :: Assertion Source #

case_mondUser :: Assertion Source #

case_mondGroup :: Assertion Source #