rsyslog/tests/rscript_compare_str-str.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

5 lines
100 B
Bash
Executable File

#!/bin/bash
export LOWER_VAL='"a"'
export HIGHER_VAL='"b"'
. ${srcdir:-.}/rscript_compare-common.sh