Safe Haskell | None |
---|
Unittests for AutoConf
Synopsis
- isFilePath :: String -> Bool
- isGntScript :: String -> Bool
- isGroup :: String -> Bool
- isProgram :: String -> Bool
- isUser :: String -> Bool
- case_versionSuffix :: Assertion
- case_localstatedir :: Assertion
- case_sysconfdir :: Assertion
- case_sshConfigDir :: Assertion
- case_sshLoginUser :: Assertion
- case_sshConsoleUser :: Assertion
- case_exportDir :: Assertion
- case_osSearchPath :: Assertion
- case_esSearchPath :: Assertion
- case_xenBootloader :: Assertion
- case_xenConfigDir :: Assertion
- case_xenKernel :: Assertion
- case_xenInitrd :: Assertion
- case_kvmKernel :: Assertion
- case_iallocatorSearchPath :: Assertion
- case_kvmPath :: Assertion
- case_ipPath :: Assertion
- case_socatPath :: Assertion
- case_toolsdir :: Assertion
- case_gntScripts :: Assertion
- case_htoolsProgs :: Assertion
- case_pkglibdir :: Assertion
- case_sharedir :: Assertion
- case_versionedsharedir :: Assertion
- case_drbdBarriers :: Assertion
- case_syslogUsage :: Assertion
- case_daemonsGroup :: Assertion
- case_adminGroup :: Assertion
- case_masterdUser :: Assertion
- case_masterdGroup :: Assertion
- case_rapiUser :: Assertion
- case_rapiGroup :: Assertion
- case_confdUser :: Assertion
- case_confdGroup :: Assertion
- case_luxidUser :: Assertion
- case_luxidGroup :: Assertion
- case_nodedUser :: Assertion
- case_nodedGroup :: Assertion
- case_mondUser :: Assertion
- case_mondGroup :: Assertion
- case_diskSeparator :: Assertion
- case_qemuimgPath :: Assertion
- testAutoConf :: Test
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 Char
s.
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
.
case_versionSuffix :: Assertion Source #
case_localstatedir :: Assertion Source #
case_sysconfdir :: Assertion Source #
case_sshConfigDir :: Assertion Source #
case_sshLoginUser :: Assertion Source #
case_sshConsoleUser :: Assertion Source #
case_exportDir :: Assertion Source #
case_osSearchPath :: Assertion Source #
case_esSearchPath :: Assertion Source #
case_xenBootloader :: Assertion Source #
case_xenConfigDir :: Assertion Source #
case_xenKernel :: Assertion Source #
case_xenInitrd :: Assertion Source #
case_kvmKernel :: Assertion Source #
case_iallocatorSearchPath :: Assertion Source #
case_kvmPath :: Assertion Source #
case_ipPath :: Assertion Source #
case_socatPath :: Assertion Source #
case_toolsdir :: Assertion Source #
case_gntScripts :: Assertion Source #
case_htoolsProgs :: Assertion Source #
case_pkglibdir :: Assertion Source #
case_sharedir :: Assertion Source #
case_versionedsharedir :: Assertion Source #
case_drbdBarriers :: Assertion Source #
case_syslogUsage :: Assertion Source #
case_daemonsGroup :: Assertion Source #
case_adminGroup :: Assertion Source #
case_masterdUser :: Assertion Source #
case_masterdGroup :: 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 #
case_diskSeparator :: Assertion Source #
case_qemuimgPath :: Assertion Source #
testAutoConf :: Test Source #