mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 20:59:59 -04:00
Merge branch 'fix-debug-output-v9_11' into 'v9_11'
echo debug output (D:text) the same as informational (I:text) See merge request isc-projects/bind9!1084
This commit is contained in:
commit
3458eb05a8
3 changed files with 17 additions and 4 deletions
|
|
@ -15,8 +15,8 @@ SYSTEMTESTTOP=../..
|
|||
SYSTESTDIR=autosign
|
||||
|
||||
dumpit () {
|
||||
echo "D:${debug}: dumping ${1}"
|
||||
cat "${1}" | sed 's/^/D:/'
|
||||
echo_d "${debug}: dumping ${1}"
|
||||
cat "${1}" | cat_d
|
||||
}
|
||||
|
||||
setup () {
|
||||
|
|
|
|||
|
|
@ -245,6 +245,19 @@ cat_i() {
|
|||
done
|
||||
}
|
||||
|
||||
echo_d() {
|
||||
echo "$@" | while read __LINE ; do
|
||||
echoinfo "D:$SYSTESTDIR:$__LINE"
|
||||
done
|
||||
}
|
||||
|
||||
cat_d() {
|
||||
while read __LINE ; do
|
||||
echoinfo "D:$SYSTESTDIR:$__LINE"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
digcomp() {
|
||||
output=`$PERL $SYSTEMTESTTOP/digcomp.pl "$@"`
|
||||
result=$?
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ SYSTEMTESTTOP=../..
|
|||
SYSTESTDIR=verify
|
||||
|
||||
dumpit () {
|
||||
echo "D:${debug}: dumping ${1}"
|
||||
cat "${1}" | sed 's/^/D:/'
|
||||
echo_d "${debug}: dumping ${1}"
|
||||
cat "${1}" | cat_d
|
||||
}
|
||||
setup () {
|
||||
echo_i "setting up $2 zone: $1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue