rsyslog/tests/imhiredis-redis-restart-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

8 lines
195 B
Bash
Executable File

#!/usr/bin/env bash
# added 2023-04-20 by Théo Bertin, released under ASL 2.0
## Uncomment for debugging
#export RS_REDIR=-d
export USE_VALGRIND="YES"
. ${srcdir:=.}/imhiredis-redis-restart.sh