Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | network: rename IGMPVersion= -> MulticastIGMPVersion= | Yu Watanabe | 2019-07-26 | 2 | -2/+2 |
| | |||||
* | network: drop recently added settings from deprecated [DHCP] section | Yu Watanabe | 2019-07-25 | 1 | -3/+0 |
| | |||||
* | test-network: use [DHCPv4] and [DHCPv6] sections instead of deprecated ↵ | Yu Watanabe | 2019-07-25 | 13 | -17/+20 |
| | | | | [DHCP] section | ||||
* | test-network: add test for Bridge.IGMPVersion= | Yu Watanabe | 2019-07-25 | 2 | -6/+8 |
| | |||||
* | networkd: bridge add support to set IGMP version | Susant Sahani | 2019-07-25 | 1 | -0/+1 |
| | |||||
* | test: add some test for norbind | Iago López Galeiras | 2019-07-24 | 1 | -0/+13 |
| | | | | This regressed so let's add a test to make sure it doesn't happen again. | ||||
* | core: rename ShutdownWatchdogSec to RebootWatchdogSec | Luca Boccassi | 2019-07-23 | 1 | -0/+1 |
| | | | | | | | This option is only used on reboot, not on other types of shutdown modes, so it is misleading. Keep the old name working for backward compatibility, but remove it from the documentation. | ||||
* | core: add KExecWatchdogSec option | Luca Boccassi | 2019-07-23 | 1 | -0/+1 |
| | | | | | | | | | | | Rather than always enabling the shutdown WD on kexec, which might be dangerous in case the kernel driver and/or the hardware implementation does not reset the wd on kexec, add a new timer, disabled by default, to let users optionally enable the shutdown WD on kexec separately from the runtime and reboot ones. Advise in the documentation to also use the runtime WD in conjunction with it. Fixes: a637d0f9ecbe ("core: set shutdown watchdog on kexec too") | ||||
* | test-network: add tests for issue #6088 | Yu Watanabe | 2019-07-23 | 1 | -0/+11 |
| | |||||
* | Merge pull request #13070 from yuwata/network-set-route-to-dhcp-dns | Zbigniew Jędrzejewski-Szmek | 2019-07-19 | 3 | -1/+39 |
|\ | |||||
| * | test-network: add tests for routes to DNS servers provided by DHCPv4 | Yu Watanabe | 2019-07-19 | 2 | -1/+38 |
| | | |||||
| * | network: add DHCPv4.RoutesToDNS= setting | Yu Watanabe | 2019-07-19 | 1 | -0/+1 |
| | | |||||
* | | test: convert all uses of '|| true' into '|| :' | Dan Streetman | 2019-07-19 | 2 | -9/+9 |
| | | | | | | | | No change in functionality; just use the shorter || : | ||||
* | | test-network: add test for neighbor with ipv6 lladdr | Yu Watanabe | 2019-07-19 | 3 | -3/+22 |
|/ | |||||
* | test: replace Makefile copy with a symlink for TEST-28-PERCENTJ-WANTEDBY | Michael Biebl | 2019-07-18 | 1 | -9/+1 |
| | | | | | TEST-28-PERCENTJ-WANTEDBY/Makefile is identical to TEST-01-BASIC/Makefile so avoid duplication and use a symlink instead. | ||||
* | meson: make nologin path build time configurable | Michael Biebl | 2019-07-18 | 13 | -39/+46 |
| | | | | | | | | | Some distros install nologin as /usr/sbin/nologin, others as /sbin/nologin. Since we can't really on merged-usr everywhere (where the path wouldn't matter), make the path build time configurable via -Dnologin-path=. Closes #13028 | ||||
* | Revert "test-network: extend sleep time" | Yu Watanabe | 2019-07-17 | 1 | -4/+4 |
| | | | | | | This reverts commit 7d7bb5c8613b774bf77c531f46d31ee20d7a1b1e. Still the CIs are flaky and the commit just slow down them. | ||||
* | test/TEST-16: don't copy systemd-notify or lib from $BUILD_DIR | Dan Streetman | 2019-07-17 | 1 | -2/+0 |
| | | | | | On Ubuntu CI, these don't exist because it tests installed binaries, not just-built binaries. | ||||
* | Merge pull request #12675 from yuwata/network-set-dns | Lennart Poettering | 2019-07-17 | 2 | -16/+121 |
|\ | | | | | resolvectl: support to modify interfaces managed by networkd | ||||
| * | test-network: drop warn_about_firewalld() as it is not necessary any more | Yu Watanabe | 2019-07-17 | 1 | -9/+0 |
| | | |||||
| * | test-network: stop firewalld in setUpModule() | Yu Watanabe | 2019-07-17 | 1 | -7/+14 |
| | | |||||
| * | test-network: add tests for link state file vs resolvectl or timedatectl | Yu Watanabe | 2019-07-17 | 2 | -0/+107 |
| | | |||||
* | | core: ExecCondition= for services | Anita Zhang | 2019-07-17 | 4 | -0/+29 |
| | | | | | | | | Closes #10596 | ||||
* | | Merge pull request #13082 from ddstreet/minor | Zbigniew Jędrzejewski-Szmek | 2019-07-17 | 32 | -207/+87 |
|\ \ | | | | | | | Minor fixes in test framework | ||||
| * | | test/test-functions: instmods call to find should use -type f | Dan Streetman | 2019-07-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | without using -type f, the logs print an error such as: E: E: modprobe: FATAL: Module asymmetric_keys not found in directory /lib/modules/4.15.0-54-generic while this doesn't appear to cause problems, it can be extremely distracting when trying to debug real failures. | ||||
| * | | test: when stripping binaries, ignore case in suppressing "File format not ↵ | Dan Streetman | 2019-07-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | recognized" The grep -v matches all lowercase, but "file" is captialized; just ignore case so it's suppressed for either all lowercase or capital File. | ||||
| * | | test: ignore errors during test cleanup, so cleanup can finish | Dan Streetman | 2019-07-16 | 2 | -17/+18 |
| | | | | | | | | | | | | Also move TESTDIR and STATEFILE removal into test_cleanup | ||||
| * | | test: add create_empty_image_rootdir() to simplify testcase setup | Dan Streetman | 2019-07-16 | 32 | -197/+76 |
| |/ | | | | | | | | | | | | | | | | | Almost all tests were manually mounting/unmounting $TESTDIR/root from the loopback image; this moves all that into test-functions so the test setup functions are simplier. Also add test_setup_cleanup() function, to cleanup what is mounted by create_empty_image_rootdir() | ||||
* | | test/test-functions: fix install_dmeventd to correctly install bin/libs | Dan Streetman | 2019-07-17 | 1 | -28/+1 |
|/ | |||||
* | Merge pull request #13069 from ↵ | Yu Watanabe | 2019-07-17 | 1 | -4/+4 |
|\ | | | | | | | | | yuwata/network-do-not-set-routes-when-carrier-lost network: do not configure routes when dropping addresses | ||||
| * | test-network: extend sleep time | Yu Watanabe | 2019-07-17 | 1 | -4/+4 |
| | | | | | | | | | | | | Even if addresses provided by DHCP is assigned, the state file may not be written yet, or resolved may not receive the state change signal yet, or resolved may not process the signal yet... | ||||
* | | tests: bump up QEMU_MEM | Evgeny Vereshchagin | 2019-07-16 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #12925 from yuwata/network-generator | Lennart Poettering | 2019-07-16 | 9 | -0/+113 |
|\ | | | | | network-generator: introduce new tool systemd-network-generator | ||||
| * | test: add TEST-35-NETWORK-GENERATOR | Yu Watanabe | 2019-07-14 | 9 | -0/+113 |
| | | |||||
* | | test-network: make wait_online() check setup state | Yu Watanabe | 2019-07-16 | 2 | -149/+168 |
| | | | | | | | | | | | | Previously, event if link's setup state is in failed, tests may pass, as systemd-networkd-wait-online success if the state is in failed state. This makes tests be checked more strictly. | ||||
* | | test-network: add tests for DHCPv4.UseDomains= | Yu Watanabe | 2019-07-15 | 2 | -0/+28 |
|/ | |||||
* | test-network: add tests for route with type local, multicast, anycast, or ↵ | Yu Watanabe | 2019-07-12 | 2 | -0/+33 |
| | | | | broadcast | ||||
* | test-network: test more bridge properties | Yu Watanabe | 2019-07-12 | 3 | -5/+17 |
| | | | | Imported from networkd-test.py | ||||
* | Merge pull request #12971 from yuwata/network-reassign-static-routes | Yu Watanabe | 2019-07-12 | 3 | -2/+46 |
|\ | | | | | network: reassign static routes and process reply address messages | ||||
| * | test-network: add test for route reassignment | Yu Watanabe | 2019-07-11 | 3 | -2/+46 |
| | | |||||
* | | Merge pull request #13017 from yuwata/network-neighbor-lladdr-13015 | Lennart Poettering | 2019-07-11 | 5 | -4/+36 |
|\ \ | | | | | | | network: rename Neighbor.MACAddress= and also support IPv4 address | ||||
| * | | test-network: add testcase that Neighbor.LinkLayerAddress= is IP address | Yu Watanabe | 2019-07-11 | 3 | -1/+32 |
| | | | |||||
| * | | test-network: use Neighbor.LinkLayerAddress= instead of deprecated ↵ | Yu Watanabe | 2019-07-11 | 2 | -3/+3 |
| | | | | | | | | | | | | Neighbor.MACAddress= | ||||
| * | | network: rename Neighbor.MACAddress= to Neighbor.LinkLayerAddress= | Yu Watanabe | 2019-07-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | And make it support IPv4 address. Closes #13015. | ||||
* | | | Merge pull request #12461 from Werkov/fix-job-ordering | Lennart Poettering | 2019-07-11 | 3 | -0/+18 |
|\ \ \ | |_|/ |/| | | Refactor job ordering implementation (and fix cycle detection) | ||||
| * | | tests: Check trivial loop between two jobs | Michal Koutný | 2019-06-26 | 2 | -0/+9 |
| | | | | | | | | | | | | | | | | | | job_compare return value is undefined in case the jobs have a loop between them, so better make a test to make sure transaction cycle detection catches it. | ||||
| * | | tests: Check job ordering on execution cycles | Michal Koutný | 2019-06-26 | 2 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test-engine Test2 tests the cycle detection when units a, b and d all start at once ,-------------------after-----------------, v | a/start ---after---> d/start ---after---> b/start Extend the test with Test11 that adds i.service which causes a and d stop (by unordered Conflicts=) while starting b. Because stops precede starts, we effectively eliminate the job cycle and all transaction jobs should be applicable. ,-------------------after-----------------, v | a/stop <---after--- d/stop <---after--- b/start . . ^ . . | '. . . . . . . . . i/start ---after------' | ||||
* | | | test: add testcase for new CleanUnit logic | Lennart Poettering | 2019-07-11 | 3 | -0/+129 |
| |/ |/| | |||||
* | | Merge pull request #13018 from yuwata/network-tunnel-follow-up-13016 | Lennart Poettering | 2019-07-11 | 12 | -10/+95 |
|\ \ | | | | | | | network: drop assertions about Tunnel.family | ||||
| * | | test-network: add testcases Tunnel.Remote=any and Local=any | Yu Watanabe | 2019-07-11 | 12 | -10/+95 |
| | | |