[Dnsmasq-discuss] [PATCH] unittests
themiron.ru at gmail.com
Thu Apr 15 16:41:06 UTC 2021
Thank you for asking, it's my private mirrored master branch and related
openssl fork (in separate branch).
Updated occasionally from release to release, so hardly can be ~official
Best Regards, Vladislav Grishenko
> -----Original Message-----
> From: - Neustradamus - <neustradamus at hotmail.com>
> Sent: Thursday, April 15, 2021 7:27 PM
> To: Petr Menšík <pemensik at redhat.com>; dnsmasq-
> discuss at lists.thekelleys.org.uk
> Cc: website at sarvepalli.net; themiron.ru at gmail.com
> Subject: Re: [Dnsmasq-discuss] [PATCH] unittests
> Importance: High
> Hello Simon, and all others,
> Here, I see a fork of Dnsmasq on GitHub, thanks Petr :)
> Can you look for https://github.com/dnsmasq organization and add the
> https://github.com/dnsmasq/dnsmasq after it?
> And remove the old https://github.com/simonkelley/dnsmasq-collab which is
> fork of https://github.com/sei-vsarvepalli/dnsmasq-collab.
> The goal is to have a best development of Dnsmasq, and more contributors,
> improvements etc.
> It will be better to devs to fork directly the dnsmasq/dnsmasq.
> If this repo is a real mirror (without changes), I can see with Vladislav
> (themiron) to transfer directly into dnsmasq organization.
> - https://github.com/themiron/dnsmasq
> Thanks in advance.
> From: Dnsmasq-discuss <dnsmasq-discuss-bounces at lists.thekelleys.org.uk> on
> behalf of Petr Menšík <pemensik at redhat.com>
> Sent: Wednesday, April 14, 2021 19:35
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: [Dnsmasq-discuss] [PATCH] unittests
> Hi Simon and other dnsmasq friends,
> after some struggling with Makefile support, I am sending my dnsmasq unit
> tests. It uses another directory with tests specific code. I moved some
> parts to Makefile.config, in order to be able to reuse them.
> Unit tests are under tests directory with own Makefile.
> New target make check should work also from top directory. Some checks
> would work only from tests directory (make kyua). Current coverage is
> poor, but I hope can be used as a building block to better tests.
> Especially option parsing tests are easy to write. Testing of sending and
> receiving packets seems to be difficult, it should be tested by different
> test IMHO.
> First is attempt to refactor, the second is what evolved into more complex
> Original separate commits are still available on github .
> What do you think?
> PS: sending this message again, because patch #2 were big enough to
> moderator's approval. Compressed it as a workaround.
> 1. https://github.com/InfrastructureServices/dnsmasq/tree/unittests
> Petr Menšík
> Software Engineer
> Red Hat, http://www.redhat.com/
> email: pemensik at redhat.com
> PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
More information about the Dnsmasq-discuss