1
0
mirror of https://passt.top/passt synced 2024-06-30 15:02:40 +00:00

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