Statistics
| Branch: | Tag: | Revision:

root / test / ganeti.ssconf_unittest.py @ 911dfc49

History | View | Annotate | Download (4.4 kB)

# Date Author Comment
911dfc49 11/28/2012 01:48 pm Michael Hanselmann

ssconf: Verify file size when reading, add some tests

Until now ssconf would limit the amount read from files to 128 KiB and
silently ignored files larger than that. With this patch a check is
added by using fstat(2) on the file descriptor while it's being read....