| 1 |
#!/usr/bin/env bash |
| 2 |
|
| 3 |
# ensure consistent behaviour |
| 4 |
src_dir="$(dirname "$(realpath "$0")")" |
| 5 |
source $src_dir/utils/_env.sh |
| 6 |
|
| 7 |
# validate all configuration examples |
| 8 |
for example in $PWD/etc/config/config.example.*.yaml; |
| 9 |
do |
| 10 |
python3 -m knot_resolver.client validate $example; |
| 11 |
done |