rsyslog/tests/func-substring-invld-startpos-vg.sh
Rainer Gerhards 1e7abb8a1a
substring function: enhancement and hardening
Now, length can have a negative value -n to denote that the
substring should be build between startpos and the character
-n chars from the end. This is a shortcut for stripping charactes
on "both ends" of the string.

Also, some hardening against invalid startpos and length has
been added.
2023-01-13 13:20:24 +01:00

4 lines
91 B
Bash
Executable File

#!/bin/bash
export USE_VALGRIND="YES"
source ${srcdir:-.}/func-substring-invld-startpos.sh