fix(unbound) (#3167)

* fix(unbound)

* use local unbound.conf for testing

* try sudo

* simplify darwin test

* use homebrew test
This commit is contained in:
Jacob Heider 2023-08-30 19:04:04 +02:00 committed by GitHub
parent 3979f27218
commit 8822c9958c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,10 +32,15 @@ build:
- --with-libexpat={{ deps.libexpat.github.io.prefix }}
test:
script: |
OUT="$(unbound-host -4 tea.xyz)"
grep "$TEST1" <<< "$OUT"
grep "$TEST2" <<< "$OUT"
script:
- unbound-control-setup -d .
# The following tests complain on our build servers due to
# darwin-specific configuration requirement
- run: exit 0
if: darwin
- OUT="$(unbound-host tea.xyz)"
- grep "$TEST1" <<< "$OUT"
- grep "$TEST2" <<< "$OUT"
env:
TEST1: "tea.xyz has address"
TEST2: "tea.xyz mail is handled by"