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