diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-14 09:38:32 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-14 09:38:32 +0100 |
commit | 85358a2df39f662d36f735b77be932f7995f3e75 (patch) | |
tree | 3ad898540666d4e89565e7af380f00d32fe32f9d /tests/imfile-basic.sh | |
parent | 3cf002b8ad6f4126dc9401bed8916e7d30a75579 (diff) | |
parent | 33366f2f1e271f47edeed75f69d9885171e61ea0 (diff) | |
download | rsyslog-85358a2df39f662d36f735b77be932f7995f3e75.tar.gz rsyslog-85358a2df39f662d36f735b77be932f7995f3e75.tar.bz2 rsyslog-85358a2df39f662d36f735b77be932f7995f3e75.zip |
Merge branch 'v5-beta' into v5-devel
Diffstat (limited to 'tests/imfile-basic.sh')
-rwxr-xr-x | tests/imfile-basic.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/imfile-basic.sh b/tests/imfile-basic.sh new file mode 100755 index 00000000..ca6a5d3a --- /dev/null +++ b/tests/imfile-basic.sh @@ -0,0 +1,14 @@ +# 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 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 # we need to wait until rsyslogd is finished! +source $srcdir/diag.sh seq-check 0 49999 +source $srcdir/diag.sh exit |