summaryrefslogtreecommitdiffstats
path: root/tests/chkseq.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-11 12:36:21 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-11 12:36:21 +0100
commit83c15bb0a004ee348228217861c0eab7c5573952 (patch)
treeb74128a7665cb189baf5dd2322aab47a2ba7c7e6 /tests/chkseq.c
parent5106cbe466781e824846742a036d36ba5f884ad6 (diff)
downloadrsyslog-83c15bb0a004ee348228217861c0eab7c5573952.tar.gz
rsyslog-83c15bb0a004ee348228217861c0eab7c5573952.tar.xz
rsyslog-83c15bb0a004ee348228217861c0eab7c5573952.zip
added more tests to testbench and improved testing tools
Diffstat (limited to 'tests/chkseq.c')
-rw-r--r--tests/chkseq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/chkseq.c b/tests/chkseq.c
index b8088cd5..b22c8992 100644
--- a/tests/chkseq.c
+++ b/tests/chkseq.c
@@ -134,5 +134,10 @@ int main(int argc, char *argv[])
exit(1);
}
+ if(!feof(fp)) {
+ printf("end of processing, but NOT end of file!\n");
+ exit(1);
+ }
+
exit(ret);
}