diff options
author | Tom Gundersen <teg@jklm.no> | 2013-11-10 01:26:24 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-11-10 01:26:49 +0100 |
commit | 7c99d940c11e4da1863a218b6b70dd16e65b7518 (patch) | |
tree | ec5475df443423e31ddd6a6793814e34128c3c2d /src/network | |
parent | 852c1b4d297e5c36a47254fed44bf0a967d66a90 (diff) |
network: fix tests
One of the tests were assuming the network configuration dirs exist. We
can't do that, so disable it for now.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/test-network.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/network/test-network.c b/src/network/test-network.c index 299f0fa326..586b92a02f 100644 --- a/src/network/test-network.c +++ b/src/network/test-network.c @@ -32,7 +32,12 @@ static void test_link(struct udev_device *loopback) { } static void test_network_load(Manager *manager) { - assert(network_should_reload(manager) == true); +/* TODO: should_reload, is false if the config dirs do not exist, so + * so we can't do this test here, move it to a test for paths_check_timestamps + * directly + * + * assert(network_should_reload(manager) == true); +*/ assert(network_load(manager) >= 0); assert(network_should_reload(manager) == false); } |