• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

c-ares / c-ares / 28687754304 / 1
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2026 11:31PM UTC
Files 935
Run time 23s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jul 2026 11:28PM UTC coverage: 61.521% (+0.009%) from 61.512%
28687754304.1

push

github

web-flow
ares_sysconfig_files: recognize AIX netsvc.conf bind4/local4 tokens (#1188)

`config_lookup()` only matched the bare `bind`/`dns`/`resolv` and
`files`/`file`/`local` tokens. AIX `/etc/netsvc.conf` uses
address-family-suffixed variants — `bind4`/`bind6` and `local4`/`local6`
(e.g. `hosts = local, bind4`).

Those suffixed tokens fell through to the ignore branch, so a
configuration like `hosts = local, bind4` recorded only the `files`
source and **never attempted DNS** — the reported regression (#986).

### Change
- Match the suffixed forms in addition to the bare ones in
`config_lookup()`.

### Test
Adds a container test injecting `/etc/netsvc.conf` with `hosts = bind4,
local4` and asserting the resulting lookup order is `"bf"`. This differs
from the default `"fb"`, so the test fails if the suffixed tokens are
ignored (pre-fix) and passes only when they are parsed.

Note: the functional test is a `CONTAINED_TEST_F` (Linux user-namespace
container), mirroring the existing `ContainerSvcConfInit` test —
`config_lookup()` is only reached on the file-based sysconfig path
(Linux/AIX/etc.); macOS and several other platforms use native config
readers that bypass it, so this cannot be exercised outside the
container harness.

Fixes #986

Signed-off-by: Brad House <brad@brad-house.com>

25839 of 42000 relevant lines covered (61.52%)

7661.99 hits per line

Source Files on job 28687754304.1
  • Tree
  • List 935
  • Changed 56
  • Source Changed 0
  • Coverage Changed 56
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28687754304
  • c0f33ff0 on github
  • Prev Job for on main (#28687671653.1)
  • Next Job for on main (#28687780094.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc