mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
test: Drop debugging left-overs in lib/util
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
d5c887de87
commit
f318174a93
@ -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')"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user