Skip to content

Initial work on integration tests

Clara Engler requested to merge cve/onionmasq:dev/cve/integration into main

This draft implements an initial support for integration tests.

It does so, by providing a DNS integration test, that is a shell script performing DNS look-ups on 16 randomly generated hostnames, checking that they remain static throughout the runtime of the program.

Besides, this MR also contains an isolation script, isolating the integration test environment into a separate PID, mount, and network namespace, so that the original system does not get modified during the execution of tests.[1]

Based on !301 (merged)

[1]: Nonetheless, it will modify parts in the chutney environment.

Merge request reports

Loading