summaryrefslogtreecommitdiffstats
path: root/tests/bad_qi
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-21 15:17:19 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-21 15:17:19 +0200
commit9079f6683057c5aad0a73eb56e33a1f1445f6e65 (patch)
treee9453f524021e5e1b4a1615ff1d7e33cb84d6a73 /tests/bad_qi
parentd3e5a2414371598c43b1e408fb741fdbf895b6f0 (diff)
downloadrsyslog-9079f6683057c5aad0a73eb56e33a1f1445f6e65.tar.gz
rsyslog-9079f6683057c5aad0a73eb56e33a1f1445f6e65.tar.xz
rsyslog-9079f6683057c5aad0a73eb56e33a1f1445f6e65.zip
improved testbench
- added a test to check handling of damaged .qi files on startup - made sure each test identifies itself on startup
Diffstat (limited to 'tests/bad_qi')
-rw-r--r--tests/bad_qi/dbq.qi29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/bad_qi/dbq.qi b/tests/bad_qi/dbq.qi
new file mode 100644
index 00000000..5f56e41a
--- /dev/null
+++ b/tests/bad_qi/dbq.qi
@@ -0,0 +1,29 @@
+!OPB:1:queue:1:
++iQueueSize:2:2:84:
++iUngottenObjs:2:1:1:
++tVars.disk.sizeOnDisk:2:5:57906:
++tVars.disk.bytesRead:2:4:1010:
+>End
+.
+<Obj:1:strm:1:
++iCurrFNum:2:1:1:
++pszFName:1:3:dbq:
++iMaxFiles:2:8:10000000:
++bDeleteOnClose:2:1:0:
++sType:2:1:1:
++tOperationsMode:2:1:2:
++tOpenMode:2:3:384:
++iCurrOffs:2:5:57906:
+>End
+.
+<Obj:1:strm:1:
++iCurrFNum:2:1:1:
++pszFName:1:3:dbq:
++iMaxFiles:2:8:10000000:
++bDeleteOnClose:2:1:1:
++sType:2:1:1:
++tOperationsMode:2:1:1:
++tOpenMode:2:3:384:
++iCurrOffs:2:4:1010:
+>End
+.