mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Use 'local' variable in echo functions in tests
This commit is contained in:
@@ -226,20 +226,20 @@ fi
|
|||||||
SYSTESTDIR="`basename $PWD`"
|
SYSTESTDIR="`basename $PWD`"
|
||||||
|
|
||||||
echo_i() {
|
echo_i() {
|
||||||
echo "$@" | while read LINE ; do
|
echo "$@" | while read __LINE ; do
|
||||||
echoinfo "I:$SYSTESTDIR:$LINE"
|
echoinfo "I:$SYSTESTDIR:$__LINE"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
echo_ic() {
|
echo_ic() {
|
||||||
echo "$@" | while read LINE ; do
|
echo "$@" | while read __LINE ; do
|
||||||
echoinfo "I:$SYSTESTDIR: $LINE"
|
echoinfo "I:$SYSTESTDIR: $__LINE"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
cat_i() {
|
cat_i() {
|
||||||
while read LINE ; do
|
while read __LINE ; do
|
||||||
echoinfo "I:$SYSTESTDIR:$LINE"
|
echoinfo "I:$SYSTESTDIR:$__LINE"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -203,20 +203,20 @@ echoend () {
|
|||||||
SYSTESTDIR="`basename $PWD`"
|
SYSTESTDIR="`basename $PWD`"
|
||||||
|
|
||||||
echo_i() {
|
echo_i() {
|
||||||
echo "$@" | while read LINE ; do
|
echo "$@" | while read __LINE ; do
|
||||||
echoinfo "I:$SYSTESTDIR:$LINE"
|
echoinfo "I:$SYSTESTDIR:$__LINE"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
echo_ic() {
|
echo_ic() {
|
||||||
echo "$@" | while read LINE ; do
|
echo "$@" | while read __LINE ; do
|
||||||
echoinfo "I:$SYSTESTDIR: $LINE"
|
echoinfo "I:$SYSTESTDIR: $__LINE"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
cat_i() {
|
cat_i() {
|
||||||
while read LINE ; do
|
while read __LINE ; do
|
||||||
echoinfo "I:$SYSTESTDIR:$LINE"
|
echoinfo "I:$SYSTESTDIR:$__LINE"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user