tests: Add tests for reverse-parsing files using the lparse api
commit2973b68b7bda852d263142b1806c56c98ed93582
authorAndreas Ericsson <ae@op5.se>
Tue, 1 Dec 2009 15:48:50 +0000 (1 16:48 +0100)
committerAndreas Ericsson <ae@op5.se>
Tue, 1 Dec 2009 15:48:50 +0000 (1 16:48 +0100)
treefc17ab33f24b1cb869f06a2051649fb3f9386f60
parent943f76fe835e58697feb691f0ca8fcdf6107d059
tests: Add tests for reverse-parsing files using the lparse api

Also add a test for parsing a single line of data. This was useful
during development since a bug kept sneaking in that added an empty
line to each file every time a piece of the buffer was read.

Signed-off-by: Andreas Ericsson <ae@op5.se>
logs/single-read.log [new file with mode: 0644]
test-lparse.c