mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 12:50:43 +01:00
FreeBSD is not able to run all tests, therefore all tests that can't be run will be disabled.
24 lines
751 B
Bash
Executable File
24 lines
751 B
Bash
Executable File
#!/bin/bash
|
|
# This is part of the rsyslog testbench, licensed under GPLv3
|
|
|
|
uname
|
|
if [ `uname` = "FreeBSD" ] ; then
|
|
echo "This test currently does not work on FreeBSD."
|
|
exit 77
|
|
fi
|
|
|
|
echo [imfile-basic.sh]
|
|
. $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 -m 50000 > rsyslog.input
|
|
ls -l rsyslog.input
|
|
. $srcdir/diag.sh startup-vg imfile-basic.conf
|
|
# sleep a little to give rsyslog a chance to begin processing
|
|
sleep 1
|
|
. $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
|
. $srcdir/diag.sh wait-shutdown-vg
|
|
. $srcdir/diag.sh check-exit-vg
|
|
. $srcdir/diag.sh seq-check 0 49999
|
|
. $srcdir/diag.sh exit
|