rsyslog/tests/CI/gather_all_logs.sh
Rainer Gerhards 57c66a0336
buildbot: gather script shall not pickup $RSYSLOG_DYNNAME*.log files
previously, it also picked test output files if they were left over. For
some test this meant very verbose data could be sent to buildbot master.
We have seen cases with over 20million lines, which made the log view
impossible. This has now been corrected.
2018-11-10 15:05:11 +01:00

9 lines
341 B
Bash
Executable File

#!/bin/bash
# Some generic cleanup to be done before buildbot processes
# tests.
echo gather all logs left from make check.
echo you only need these if make check is terminated due to timeout
# IMPORTANT: ! -name "rstb_*" excludes $RSYSLOGDYNNAME*.log
( cd tests ;
find . -maxdepth 1 -print0 -name "*.log" ! -name "rstb_*" -exec cat {} +; )