Add unit test for text backend + fix bug
authorBernardo Dal Seno <bdalseno@google.com>
Mon, 27 May 2013 22:12:19 +0000 (00:12 +0200)
committerBernardo Dal Seno <bdalseno@google.com>
Mon, 3 Jun 2013 13:14:58 +0000 (15:14 +0200)
commitc09359ee909ee7df6194358f82a7e4f044abe709
tree46588d49caa018cda8c046a74c25257bb73563f1
parentdd0b06d047b026aa34dd3200be8b917f155f2b29
Add unit test for text backend + fix bug

Test serialization and deserialization of instances. Fix check of secondary
node.

Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
src/Ganeti/HTools/Backend/Text.hs
test/hs/Test/Ganeti/HTools/Backend/Text.hs
test/hs/Test/Ganeti/HTools/Node.hs