aboutgitcodebugslistschat
path: root/test/lib/util
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-13 21:49:59 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-14 13:15:12 +0200
commitf318174a9387ecd94d83ed0b9356940c60753846 (patch)
tree7a2e661c901fd8c04aec1736f58fd9e5dda90074 /test/lib/util
parentd5c887de877d994951fd9af89586e29544969c1a (diff)
downloadpasst-f318174a9387ecd94d83ed0b9356940c60753846.tar
passt-f318174a9387ecd94d83ed0b9356940c60753846.tar.gz
passt-f318174a9387ecd94d83ed0b9356940c60753846.tar.bz2
passt-f318174a9387ecd94d83ed0b9356940c60753846.tar.lz
passt-f318174a9387ecd94d83ed0b9356940c60753846.tar.xz
passt-f318174a9387ecd94d83ed0b9356940c60753846.tar.zst
passt-f318174a9387ecd94d83ed0b9356940c60753846.zip
test: Drop debugging left-overs in lib/util
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/util')
-rwxr-xr-xtest/lib/util4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/lib/util b/test/lib/util
index 52ae171..906bd9e 100755
--- a/test/lib/util
+++ b/test/lib/util
@@ -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')"