summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* test: use newer verb to set log levelsZbigniew Jędrzejewski-Szmek2019-04-035-14/+14
|
* core: expose SUID/SGID restriction as new unit setting RestrictSUIDSGID=Lennart Poettering2019-04-021-0/+1
|
* Merge pull request #12013 from yuwata/fix-switchroot-11997Zbigniew Jędrzejewski-Szmek2019-04-023-0/+62
|\ | | | | core: on switching root do not emit device state change based on enumeration results
| * test: add a testcase for device plugged -> dead -> plugged bugYu Watanabe2019-03-153-0/+62
| |
* | test: add tests for new .timer unitsLennart Poettering2019-04-023-0/+87
| |
* | Merge pull request #12160 from yuwata/wait-online-allow-configuringYu Watanabe2019-04-023-3/+32
|\ \ | | | | | | wait-online: add --any option
| * | test-network: add tests for --any option of wait-onlineYu Watanabe2019-04-023-1/+31
| | |
| * | test-network: fix timeout argument for wait_online()Yu Watanabe2019-04-021-2/+1
| | |
* | | test-network: add tests for FooOverUDP tunnelsYu Watanabe2019-04-027-0/+113
| | |
* | | test-network: add more tests for SerializeTunneledPackets=, Key=, and friendsYu Watanabe2019-04-026-1/+39
| | |
* | | test: set longer StartLimitIntervalSec= and fewer StartLimitBurst=Yu Watanabe2019-04-011-0/+2
| | | | | | | | | | | | | | | Some test environment may be in heavy load. In that case, rate limit never hit, and the test fails...
* | | test-network: add test for NetDev.Name= conflictYu Watanabe2019-04-012-1/+8
| | |
* | | test-network: add test for drop-in [WireGuardPeer] sectionYu Watanabe2019-04-013-14/+17
|/ / | | | | | | | | This also merges the two wireguard tests, and use wait_online() to speed up the test.
* | Merge pull request #12147 from yuwata/network-gre-key-12144Yu Watanabe2019-03-314-3/+10
|\ \ | | | | | | network: make GRE and GRETAP support Key= or friends
| * | test-network: test stacked erspan tunnelsYu Watanabe2019-03-304-3/+10
| | |
* | | test-network: merge tests for [Route] sectionYu Watanabe2019-03-308-159/+72
| | |
* | | test-network: use wait_online() in test_sysctl_disable_ipv6()Yu Watanabe2019-03-301-2/+4
| | |
* | | test-network: use wait_online() in test_sysctl()Yu Watanabe2019-03-302-1/+3
| | | | | | | | | | | | This also disables IPv6AcceptRA= to speed up the test.
* | | test-network: use wait_online() in test_link_local_addressing()Yu Watanabe2019-03-302-3/+3
| | | | | | | | | | | | This also disables IPv6AcceptRA= to speed up the test.
* | | test-network: fix addr_gen_modeYu Watanabe2019-03-301-1/+1
| | | | | | | | | | | | If stable_secret is set, then networkd sets addr_gen_mode 2.
* | | test-network: move tests related to bondingYu Watanabe2019-03-301-25/+28
| | |
* | | test-network: merge tests about static addressesYu Watanabe2019-03-305-91/+101
| | | | | | | | | | | | And use wait_online()
* | | test-network: add wait_online() helper functionYu Watanabe2019-03-301-3/+10
|/ /
* | test: add some basic testing that "systemctl start -T" does somethingLennart Poettering2019-03-271-0/+7
| |
* | fuzz: add testcases for the bug in condition_free_list_type()Yu Watanabe2019-03-245-0/+4
| |
* | nspawn-oci: fix double freeZbigniew Jędrzejewski-Szmek2019-03-221-0/+5
| | | | | | | | | | Also rename function to make it clear that it also frees the array object itself.
* | nspawn-oci: mount source is optionalZbigniew Jędrzejewski-Szmek2019-03-221-0/+92
| |
* | fuzz-nspawn-oci: add fuzzer for the oci bundle loaderZbigniew Jędrzejewski-Szmek2019-03-221-0/+141
| |
* | Merge pull request #12066 from yuwata/fix-network-tunnel-12041Yu Watanabe2019-03-2230-18/+335
|\ \ | | | | | | network: fix netdev_tunnel_verify()
| * | test-network: add more tests for tunneling devicesYu Watanabe2019-03-2230-18/+335
| | |
* | | Merge pull request #12020 from mrc0mmand/test-functions-interactive-debugZbigniew Jędrzejewski-Szmek2019-03-212-8/+51
|\ \ \ | |/ / |/| | test: test-functions improvements for debugging
| * | test: improve testsuite configuration documentationFrantisek Sumsal2019-03-161-3/+30
| | |
| * | test: allow overriding of the KVM detection using TEST_NO_KVMFrantisek Sumsal2019-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | | By default the run_qemu() function enables KVM automatically if it detects the /dev/kvm char device and if the machine is not already a KVM one. Let's add a TEST_NO_KVM env variable to suppress this detection.
| * | test: introduce INTERACTIVE_DEBUGFrantisek Sumsal2019-03-161-2/+18
| | | | | | | | | | | | | | | | | | Make the interactive debugging of (particularly QEMU) machines less painful, by replacing the default vt220 TERM with linux one, and by not shutting down the machine after running the test itself.
| * | test: unify indentationFrantisek Sumsal2019-03-161-1/+1
| | |
* | | journalctl: support `-b all` to negate effect of -bdana2019-03-191-0/+12
|/ / | | | | | | Also fix an issue where -b without argument didn't always behave as -b0
* | Merge pull request #12016 from yuwata/fix-two-memleaks-found-by-oss-fuzzLennart Poettering2019-03-152-0/+8
|\ \ | | | | | | Fix two memleaks found by oss fuzz
| * | fuzz: add testcase for oss-fuzz#13691Yu Watanabe2019-03-151-0/+2
| | |
| * | fuzz: add a testcase for oss-fuzz#13719Yu Watanabe2019-03-151-0/+6
| | |
* | | test-execute: block /sys not /procZbigniew Jędrzejewski-Szmek2019-03-152-3/+3
|/ / | | | | | | | | As explained in the previous commit, blocking /proc can cause us to go into a long loop or fail the test.
* | Merge pull request #11988 from keszybz/test-binaries-installationLennart Poettering2019-03-151-2/+5
|\ \ | | | | | | Install more requires binaries for tests
| * | tests: install /usr/bin/dbus-broker when using dbus-brokerZbigniew Jędrzejewski-Szmek2019-03-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | We'd install the service file, and then dbus-broker-launcher because it is mentioned in ExecStart=, but not the main executable, so nothing would work. Let's just install dbus-broker executables if found. They are small, so this doesn't matter much, and is much easier than figuring the exact conditions under which dbus-broker will be used instead of dbus-daemon.
| * | tests: install "head" in the imageZbigniew Jędrzejewski-Szmek2019-03-131-2/+2
| | | | | | | | | | | | For #11915.
* | | test: use PBKDF2 instead of Argon2 in cryptsetup...Frantisek Sumsal2019-03-151-1/+1
| | | | | | | | | | | | | | | | | | to reduce memory requirements for volume manipulation. Also, to further improve the test performance, reduce number of PBKDF iterations to 1000 (allowed minimum).
* | | test: bump the second partition size to 50MBFrantisek Sumsal2019-03-151-1/+1
| |/ |/| | | | | 10MB is not enough for a LUKS2 partition.
* | test-network: add tests for L2TPYu Watanabe2019-03-144-1/+143
| |
* | networkd: Introduce l2tp tunnelSusant Sahani2019-03-142-0/+17
| | | | | | | | | | This works allows networkd to configure l2tp tunnel. See http://man7.org/linux/man-pages/man8/ip-l2tp.8.html
* | test: avoid double-fsck'ing of the rootfs on ArchFrantisek Sumsal2019-03-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since systemd 206 the combination of systemd and mkinitcpio causes, under certain conditions, the rootfs to be double fsck'd. Symptoms: ``` :: performing fsck on '/dev/sda1' systemd: clean, 3523/125488 files, 141738/501760 blocks ********************** WARNING ********************** * * * The root device is not configured to be mounted * * read-write! It may be fsck'd again later. * * * ***************************************************** <snip> [ OK ] Started File System Check on Root Device ``` This occurs when neither 'ro' or 'rw', or only 'ro' is present on the kernel command line. The solution is to mount the roofs as read-write on the kernel command line, so systemd knows to not fsck it again.
* | networkd: Add bridge port capabilitiesTobias Jungel2019-03-133-0/+10
| | | | | | | | | | This PR adds the configuration switches for multicast flooding, neighbor suppression and learning of a bridge port.
* | test: don't overwrite TESTDIR if already setFrantisek Sumsal2019-03-131-2/+7
| |