![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <gtest/gtest.h>Go to the source code of this file.
Classes | |
| class | nix::testing::LibStoreNetworkTest |
Functions | |
| void | nix::testing::setupNetworkTests () |
Variables | |
| bool | nix::testing::networkTestsAvailable = false |
| void nix::testing::setupNetworkTests | ( | ) |
Set up network tests and, if on linux, create a new network namespace for tests with a loopback interface. This is to avoid binding to ports in the host's namespace.
| bool nix::testing::networkTestsAvailable = false |
Whether to run network tests. This is global so that the test harness can enable this by default if we can run tests in isolation.