diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-11 11:56:37 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-11 11:56:37 +0100 |
commit | 6dbd70732a19a13bacae7b4bea07097458974cc9 (patch) | |
tree | a1a7e8834de3e2e73f3bdbb53df68e3de67d7656 /tests/imfile-basic-vg.sh | |
parent | ffa57b17b270be441c64161cd1a3c3123b58ee26 (diff) | |
download | rsyslog-6dbd70732a19a13bacae7b4bea07097458974cc9.tar.gz rsyslog-6dbd70732a19a13bacae7b4bea07097458974cc9.tar.xz rsyslog-6dbd70732a19a13bacae7b4bea07097458974cc9.zip |
added one more test for imfile (under valgrind)
Diffstat (limited to 'tests/imfile-basic-vg.sh')
-rwxr-xr-x | tests/imfile-basic-vg.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/imfile-basic-vg.sh b/tests/imfile-basic-vg.sh new file mode 100755 index 00000000..92cfc7f6 --- /dev/null +++ b/tests/imfile-basic-vg.sh @@ -0,0 +1,15 @@ +# This is part of the rsyslog testbench, licensed under GPLv3 +echo [imfile-basic.sh] +source $srcdir/diag.sh init +# generate input file first. Note that rsyslog processes it as +# soon as it start up (so the file should exist at that point). +./inputfilegen 50000 > rsyslog.input +ls -l rsyslog.input +source $srcdir/diag.sh startup-vg imfile-basic.conf +# sleep a little to give rsyslog a chance to begin processing +sleep 1 +source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages +source $srcdir/diag.sh wait-shutdown-vg +source $srcdir/diag.sh check-exit-vg +source $srcdir/diag.sh seq-check 0 49999 +source $srcdir/diag.sh exit |