Hello, I have made an attempt at fleshing out the resolver tests, please see the file attached. It still needs some polishing, and I am keen to keep building out the necessary tests, attached is a simple rudimentary res_query() test. I need to improve the packet and RR parsing, but sending this out to get some early feedback before I build out more tests. I have just been building the test and the unshare-ns.c framework with the libc-test build system, executing unshare-ns.exe and passing in resolv_query.exe as intended. Thanks, rw ________________________________ From: Szabolcs Nagy Sent: Sunday, 18 August 2024 9:38 AM To: Rich Felker Cc: musl@lists.openwall.com Subject: Re: [musl] Adding dns/resolver tests to libc-test * Rich Felker [2024-08-17 22:03:28 -0400]: > I've been working on a framework to allow testing of libc resolver/dns > functionality in libc-test, on Linux-based hosts, provided they have > user-namespace functionality. The intent is that these tests would be > made conditional on __linux__ or similar, with the freedom to add > equivalent setup for other systems in the future if desired. thanks. im travelling now will look at it in a few days