summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* network: rename IGMPVersion= -> MulticastIGMPVersion=Yu Watanabe2019-07-262-2/+2
|
* network: drop recently added settings from deprecated [DHCP] sectionYu Watanabe2019-07-251-3/+0
|
* test-network: use [DHCPv4] and [DHCPv6] sections instead of deprecated ↵Yu Watanabe2019-07-2513-17/+20
| | | | [DHCP] section
* test-network: add test for Bridge.IGMPVersion=Yu Watanabe2019-07-252-6/+8
|
* networkd: bridge add support to set IGMP versionSusant Sahani2019-07-251-0/+1
|
* test: add some test for norbindIago López Galeiras2019-07-241-0/+13
| | | | This regressed so let's add a test to make sure it doesn't happen again.
* core: rename ShutdownWatchdogSec to RebootWatchdogSecLuca Boccassi2019-07-231-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 optionLuca Boccassi2019-07-231-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 #6088Yu Watanabe2019-07-231-0/+11
|
* Merge pull request #13070 from yuwata/network-set-route-to-dhcp-dnsZbigniew Jędrzejewski-Szmek2019-07-193-1/+39
|\
| * test-network: add tests for routes to DNS servers provided by DHCPv4Yu Watanabe2019-07-192-1/+38
| |
| * network: add DHCPv4.RoutesToDNS= settingYu Watanabe2019-07-191-0/+1
| |
* | test: convert all uses of '|| true' into '|| :'Dan Streetman2019-07-192-9/+9
| | | | | | | | No change in functionality; just use the shorter || :
* | test-network: add test for neighbor with ipv6 lladdrYu Watanabe2019-07-193-3/+22
|/
* test: replace Makefile copy with a symlink for TEST-28-PERCENTJ-WANTEDBYMichael Biebl2019-07-181-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 configurableMichael Biebl2019-07-1813-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 Watanabe2019-07-171-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_DIRDan Streetman2019-07-171-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-dnsLennart Poettering2019-07-172-16/+121
|\ | | | | resolvectl: support to modify interfaces managed by networkd
| * test-network: drop warn_about_firewalld() as it is not necessary any moreYu Watanabe2019-07-171-9/+0
| |
| * test-network: stop firewalld in setUpModule()Yu Watanabe2019-07-171-7/+14
| |
| * test-network: add tests for link state file vs resolvectl or timedatectlYu Watanabe2019-07-172-0/+107
| |
* | core: ExecCondition= for servicesAnita Zhang2019-07-174-0/+29
| | | | | | | | Closes #10596
* | Merge pull request #13082 from ddstreet/minorZbigniew Jędrzejewski-Szmek2019-07-1732-207/+87
|\ \ | | | | | | Minor fixes in test framework
| * | test/test-functions: instmods call to find should use -type fDan Streetman2019-07-161-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 Streetman2019-07-161-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 finishDan Streetman2019-07-162-17/+18
| | | | | | | | | | | | Also move TESTDIR and STATEFILE removal into test_cleanup
| * | test: add create_empty_image_rootdir() to simplify testcase setupDan Streetman2019-07-1632-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/libsDan Streetman2019-07-171-28/+1
|/
* Merge pull request #13069 from ↵Yu Watanabe2019-07-171-4/+4
|\ | | | | | | | | yuwata/network-do-not-set-routes-when-carrier-lost network: do not configure routes when dropping addresses
| * test-network: extend sleep timeYu Watanabe2019-07-171-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_MEMEvgeny Vereshchagin2019-07-161-1/+1
|/
* Merge pull request #12925 from yuwata/network-generatorLennart Poettering2019-07-169-0/+113
|\ | | | | network-generator: introduce new tool systemd-network-generator
| * test: add TEST-35-NETWORK-GENERATORYu Watanabe2019-07-149-0/+113
| |
* | test-network: make wait_online() check setup stateYu Watanabe2019-07-162-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 Watanabe2019-07-152-0/+28
|/
* test-network: add tests for route with type local, multicast, anycast, or ↵Yu Watanabe2019-07-122-0/+33
| | | | broadcast
* test-network: test more bridge propertiesYu Watanabe2019-07-123-5/+17
| | | | Imported from networkd-test.py
* Merge pull request #12971 from yuwata/network-reassign-static-routesYu Watanabe2019-07-123-2/+46
|\ | | | | network: reassign static routes and process reply address messages
| * test-network: add test for route reassignmentYu Watanabe2019-07-113-2/+46
| |
* | Merge pull request #13017 from yuwata/network-neighbor-lladdr-13015Lennart Poettering2019-07-115-4/+36
|\ \ | | | | | | network: rename Neighbor.MACAddress= and also support IPv4 address
| * | test-network: add testcase that Neighbor.LinkLayerAddress= is IP addressYu Watanabe2019-07-113-1/+32
| | |
| * | test-network: use Neighbor.LinkLayerAddress= instead of deprecated ↵Yu Watanabe2019-07-112-3/+3
| | | | | | | | | | | | Neighbor.MACAddress=
| * | network: rename Neighbor.MACAddress= to Neighbor.LinkLayerAddress=Yu Watanabe2019-07-111-0/+1
| | | | | | | | | | | | | | | | | | And make it support IPv4 address. Closes #13015.
* | | Merge pull request #12461 from Werkov/fix-job-orderingLennart Poettering2019-07-113-0/+18
|\ \ \ | |_|/ |/| | Refactor job ordering implementation (and fix cycle detection)
| * | tests: Check trivial loop between two jobsMichal Koutný2019-06-262-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 cyclesMichal Koutný2019-06-262-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 logicLennart Poettering2019-07-113-0/+129
| |/ |/|
* | Merge pull request #13018 from yuwata/network-tunnel-follow-up-13016Lennart Poettering2019-07-1112-10/+95
|\ \ | | | | | | network: drop assertions about Tunnel.family
| * | test-network: add testcases Tunnel.Remote=any and Local=anyYu Watanabe2019-07-1112-10/+95
| | |