mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'tkrizek/resolver-test-export-home-9.18' into 'bind-9.18'
[9.18] Export variable in resolver system test See merge request isc-projects/bind9!8898
This commit is contained in:
commit
aa1c4e15ca
1 changed files with 15 additions and 3 deletions
|
|
@ -629,9 +629,21 @@ n=$((n + 1))
|
|||
echo_i "check that '-t aaaa' in .digrc does not have unexpected side effects ($n)"
|
||||
ret=0
|
||||
echo "-t aaaa" >.digrc
|
||||
(HOME="$(pwd)" dig_with_opts @10.53.0.4 . >dig.out.1.${n}) || ret=1
|
||||
(HOME="$(pwd)" dig_with_opts @10.53.0.4 . A >dig.out.2.${n}) || ret=1
|
||||
(HOME="$(pwd)" dig_with_opts @10.53.0.4 -x 127.0.0.1 >dig.out.3.${n}) || ret=1
|
||||
(
|
||||
HOME="$(pwd)"
|
||||
export HOME
|
||||
dig_with_opts @10.53.0.4 . >dig.out.1.${n}
|
||||
) || ret=1
|
||||
(
|
||||
HOME="$(pwd)"
|
||||
export HOME
|
||||
dig_with_opts @10.53.0.4 . A >dig.out.2.${n}
|
||||
) || ret=1
|
||||
(
|
||||
HOME="$(pwd)"
|
||||
export HOME
|
||||
dig_with_opts @10.53.0.4 -x 127.0.0.1 >dig.out.3.${n}
|
||||
) || ret=1
|
||||
grep ';\..*IN.*AAAA$' dig.out.1.${n} >/dev/null || ret=1
|
||||
grep ';\..*IN.*A$' dig.out.2.${n} >/dev/null || ret=1
|
||||
grep 'extra type option' dig.out.2.${n} >/dev/null && ret=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue