unit tests: Add tests for uid and gid handling in utils.WriteFile
authorBernardo Dal Seno <bdalseno@google.com>
Tue, 13 Dec 2011 16:17:10 +0000 (17:17 +0100)
committerBernardo Dal Seno <bdalseno@google.com>
Thu, 22 Dec 2011 13:12:41 +0000 (14:12 +0100)
commit0d20cc42ad8fe14e02131541fc10fabdea146d32
tree2a483741582268287a80026c65b145357a5ea4fc
parentfd6eaa09bcc2f244712e7aad1d7356c15dedea3a
unit tests: Add tests for uid and gid handling in utils.WriteFile

These tests need fakeroot.  If it's not present, they are not run (they
don't fail).

Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Makefile.am
test/ganeti.utils.io_unittest-runasroot.py [new file with mode: 0644]
test/testutils.py