tests: Fix read_file test.
authorRichard Jones <rjones@trick.home.annexia.org>
Wed, 29 Jul 2009 17:44:46 +0000 (18:44 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Wed, 29 Jul 2009 17:44:46 +0000 (18:44 +0100)
commitbf2b08560f649c22152e4138531ad0b46b4ad1b3
tree3002cb0225a56b15ee905bbbeb52603f3e033f76
parent9847e0c07d5907887e26ec60192fa12aa46277ee
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.
images/Makefile.am
images/known-4 [new file with mode: 0644]
images/known-5 [new file with mode: 0644]
src/generator.ml