mirror of
https://github.com/rsyslog/rsyslog.git
synced 2026-06-20 01:42:57 +02:00
Why Rsyslog's test suite and documentation used a mix of the bash-specific "source" command and the portable POSIX "." command. This inconsistency caused issues with repo-policy checks and potential portability concerns. Impact Testing and documentation. All test wrappers in tests/ and guidance in READMEs and skills now consistently use the POSIX standard. Before/After Before: 200+ files used "source", others used ".". After: "source" is replaced by "." for script inclusion across the repository. Repo-policy checks are tightened to enforce this. Closes: https://github.com/rsyslog/rsyslog/issues/6635
13 lines
537 B
Bash
Executable File
13 lines
537 B
Bash
Executable File
#!/bin/bash
|
|
# added 2018-04-06 by richm, released under ASL 2.0
|
|
#
|
|
# Note: on buildbot VMs (where there is no environment cleanup), the
|
|
# kubernetes test server may be kept running if the script aborts or
|
|
# is aborted (buildbot master failure!) for some reason. As such we
|
|
# execute it under "timeout" control, which ensure it always is
|
|
# terminated. It's not a 100% great method, but hopefully does the
|
|
# trick. -- rgerhards, 2018-07-21
|
|
#export RSYSLOG_DEBUG="debug"
|
|
export USE_VALGRIND="YES"
|
|
. ${srcdir:=.}/mmkubernetes-cache-expire.sh
|