Fix prefix bug in Haskell ssconf implementation
authorIustin Pop <iustin@google.com>
Fri, 8 Jun 2012 09:40:43 +0000 (11:40 +0200)
committerIustin Pop <iustin@google.com>
Fri, 8 Jun 2012 11:02:51 +0000 (13:02 +0200)
commitc5b4a1866c3933fe51bdadaf26b2d076443636c5
tree777281554f52800bef6064051e5293815e40ee3c
parentc09254c2e5fdc6fdf16bb0e9d04f5e7772cfb591
Fix prefix bug in Haskell ssconf implementation

This patch fixes a (brown-bag) bug in the ssconf implementation where
the looked-for filenames were not prefixed with the ssconf file
prefix.

Additionally, a test for this is added (which fails without the fix).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
htools/Ganeti/HTools/QC.hs
htools/Ganeti/Ssconf.hs
htools/test.hs