rsyslog/tests/imptcp_conndrop-vg.sh
Rainer Gerhards 1e3a80a5b8 tests: standardize on POSIX "." for script inclusion
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
2026-04-01 17:59:36 +02:00

7 lines
285 B
Bash
Executable File

#!/bin/bash
export USE_VALGRIND="YES"
export TB_TEST_MAX_RUNTIME=1200 # connection drops are very slow...
export NUMMESSAGES=10000 # even if it is slow, we use a large number to be
# sure to have sufficient connection drops - but as low as possible!
. ${srcdir:-.}/imptcp_conndrop.sh