diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-29 18:44:46 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-29 18:44:46 +0100 |
commit | bf2b08560f649c22152e4138531ad0b46b4ad1b3 (patch) | |
tree | 3002cb0225a56b15ee905bbbeb52603f3e033f76 /python/run-python-tests | |
parent | 9847e0c07d5907887e26ec60192fa12aa46277ee (diff) | |
download | libguestfs-bf2b08560f649c22152e4138531ad0b46b4ad1b3.tar.gz libguestfs-bf2b08560f649c22152e4138531ad0b46b4ad1b3.tar.xz libguestfs-bf2b08560f649c22152e4138531ad0b46b4ad1b3.zip |
tests: Fix read_file test.
The test ignored the fact that this function returns a (char *, size_t)
pair, and just treated the char * as a string. This of course would
fail if the string didn't happen to be nul-terminated.
The tests are updated to add a new TestOutputBuffer type which should
be used with functions that return RBufferOut.
Diffstat (limited to 'python/run-python-tests')
0 files changed, 0 insertions, 0 deletions