test: Drop debugging left-overs in lib/util

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-13 21:49:59 +02:00
parent d5c887de87
commit f318174a93

View file

@ -96,8 +96,6 @@ file_def() {
# $1: List of substitutions # $1: List of substitutions
# $2: String where substitutions have to be applied # $2: String where substitutions have to be applied
subs_apply() { subs_apply() {
echo "in subs_apply" >> /tmp/subs_apply
__ifs="${IFS}" __ifs="${IFS}"
IFS=' ' IFS=' '
__newarg="${2}" __newarg="${2}"
@ -105,8 +103,6 @@ subs_apply() {
for __t in ${1}; do for __t in ${1}; do
[ -z "${__s}" ] && __s="${__t}" && continue [ -z "${__s}" ] && __s="${__t}" && continue
echo "t: --${__t}--, --${__s}--" >> /tmp/subs_apply
__et="$(printf '%s\n' "$__t" | sed -e 's/[\/&]/\\&/g')" __et="$(printf '%s\n' "$__t" | sed -e 's/[\/&]/\\&/g')"
__es="$(printf '%s\n' "$__s" | sed -e 's/[]\/$*.^[]/\\&/g')" __es="$(printf '%s\n' "$__s" | sed -e 's/[]\/$*.^[]/\\&/g')"