Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-12 | core: rework generator dir logic, move the dirs into LookupPaths structure | Lennart Poettering | |
A long time ago – when generators where first introduced – the directories for them were randomly created via mkdtemp(). This was changed later so that they use fixed name directories now. Let's make use of this, and add the genrator dirs to the LookupPaths structure and into the unit file search path maintained in it. This has the benefit that the generator dirs are now normal part of the search path for all tools, and thus are shown in "systemctl list-unit-files" too. | |||
2016-04-11 | tests: port udev-test to log_*_errno (#3015) | Evgeny Vereshchagin | |
SYSTEMD_LOG_LEVEL=debug test/udev-test.pl is working now Also, fixes CID 1354602 | |||
2016-04-10 | tests: don't silently skip `test-namespace` | Evgeny Vereshchagin | |
2016-04-10 | tests: ignore some mount errors in test-udev | Evgeny Vereshchagin | |
Fixes: $ sudo make distcheck ... FAIL: test/udev-test.pl ... $ vi systemd-229/_build/sub/test/udev-test.pl.log ... failed to mount empty /home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory ... failed to mount empty /home/ubuntu/systemd/systemd-229/_inst/lib/udev/rules.d No such file or directory ... 414 errors occurred | |||
2016-04-06 | Merge pull request #2969 from evverx/udev-test-dont-rely-on-underlying-fs-2 | Martin Pitt | |
tests: don't rely on the underlying fs in test-udev (v2) | |||
2016-04-06 | Merge pull request #2947 from keszybz/test-nss | Lennart Poettering | |
Add a test for nss modules and some related fixes | |||
2016-04-06 | tests: don't rely on the underlying fs in test-udev (v2) | Evgeny Vereshchagin | |
* This reverts commit 646048b40a7b62c4e9bc59024ef6133613cda01b. Let's test really big numbers again * Don't be so brutal: use rmdir instead of rm -rf As suggested https://github.com/systemd/systemd/pull/2966#issuecomment-205751680 | |||
2016-04-05 | test-nss: test the resolution of various names | Zbigniew Jędrzejewski-Szmek | |
nss-dns is also "tested". It should be almost always available, and provides a reference for comparison. | |||
2016-04-05 | tests: don't rely on underlying fs in udev-test, use tmpfs instead | Evgeny Vereshchagin | |
Fixes: #457 | |||
2016-03-22 | Merge pull request #2880 from keszybz/more-tests | Daniel Mack | |
Add some simple tests for env_value_is_valid and env_assignment_is_valid | |||
2016-03-21 | test-env-util: test env_{value,assignment}_is_valid | Zbigniew Jędrzejewski-Szmek | |
Just to make sure everything works as expected in relation to https://bugzilla.redhat.com/show_bug.cgi?id=1312384. | |||
2016-03-21 | tests: rename test-env-replace to test-env-util | Zbigniew Jędrzejewski-Szmek | |
2016-03-21 | test-execute: fix execution of AmbientCapabilities tests | Ronny Chevalier | |
Wrong tests were executed | |||
2016-03-21 | test-copy: use correct data type for max_bytes | Martin Pitt | |
copy_bytes() and the comparisons in test_copy_bytes_regular_file() expect an uint64_t, not a size_t. On 32 bit architectures the latter is 32 bit, leading to truncation errors. Fixes regression from commit 7a827fcb. | |||
2016-03-21 | Merge pull request #2760 from ronnychevalier/rc/core_no_new_privileges_seccompv3 | Daniel Mack | |
core: set NoNewPrivileges for seccomp if we don't have CAP_SYS_ADMIN | |||
2016-03-15 | test-copy: test with different max_bytes values | Zbigniew Jędrzejewski-Szmek | |
2016-03-15 | test-copy: add a test shuffling bytes between normal files | Zbigniew Jędrzejewski-Szmek | |
I started looking into adding copy_file_range support, and discovered that we can improve the way we call sendfile: - sendfile(2) man page is missing an important bit: the number of bytes to copy cannot be too big (SSIZE_MAX actually), and the description of EINVAL return code does not mention this either, - our implementation works but calls sendfile over and over with a small size, which seems suboptimal. First add a test which (under strace) can be used to see current behaviour. | |||
2016-03-10 | test-ipcrm: fix log message | Lukas Nykryn | |
2016-03-09 | Merge pull request #2792 from ronnychevalier/rc/tests_movev2 | Zbigniew Jędrzejewski-Szmek | |
tests: move out unrelated tests from test-util to their own file | |||
2016-03-04 | test-selinux: use yes_no() and strnull() | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | test-libudev: disable monitor mode by default and add to automatic tests | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | test-libudev: modernization | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | Enable test-ipcrm, test-hostname in unsafe tests | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | Enable test-daemon, test-log, test-watchdog by default | Zbigniew Jędrzejewski-Szmek | |
Those should be safe to run, resulting in some messages in logs. | |||
2016-03-04 | shared/acpi-fpdt: use ENODATA for missing data and skip test | Zbigniew Jędrzejewski-Szmek | |
This data is simply missing on non-UEFI systems, and it is useful to distinguish that from corrupted data. | |||
2016-03-04 | Rename test-boot-timestamp to test-boot-timestamps and enable by default | Zbigniew Jędrzejewski-Szmek | |
The source file name and the binary name were mismatched. Rename binary to match. Make the test exit with TEST_SKIP if the data is missing or we have no permissions. Otherwise, the data will be printed, which should be safe to enable by default. | |||
2016-03-04 | Move test-loopback to normal tests | Zbigniew Jędrzejewski-Szmek | |
In the normal case lo should be already configured and this should be a noop, even when run under root. | |||
2016-03-03 | test-util: remove now unused includes | Ronny Chevalier | |
2016-03-03 | tests: move xattr-util related tests to test-xattr-util.c | Ronny Chevalier | |
2016-03-03 | tests: move glob-util related tests to test-glob-util.c | Ronny Chevalier | |
2016-03-03 | tests: move io-util related tests to test-io-util | Ronny Chevalier | |
2016-03-03 | tests: move proc-cmdline related tests to test-proc-cmdline.c | Ronny Chevalier | |
2016-03-03 | tests: move fstab-util related tests to test-fstab-util.c | Ronny Chevalier | |
2016-03-03 | tests: move fs-util related tests to test-fs-util.c | Ronny Chevalier | |
2016-03-03 | tests: move conf-parser related tests to test-conf-parser.c | Ronny Chevalier | |
2016-03-03 | tests: move fd-util related tests to test-fd-util.c | Ronny Chevalier | |
2016-03-03 | tests: move user-util related tests to test-user-util.c | Ronny Chevalier | |
2016-03-03 | tests: move path-util related tests to test-path-util.c | Ronny Chevalier | |
2016-03-03 | tests: move fileio related tests to test-fileio.c | Ronny Chevalier | |
2016-03-03 | tests: move stat-util related tests to test-stat-util.c | Ronny Chevalier | |
2016-03-03 | tests: move signal-util related tests to test-signal-util.c | Ronny Chevalier | |
2016-03-03 | tests: move cpu-set-util related tests to test-cpu-set-util.c | Ronny Chevalier | |
2016-03-03 | tests: move web-util related tests to test-web-util.c | Ronny Chevalier | |
2016-03-03 | tests: move alloc related tests to test-alloc-util.c | Ronny Chevalier | |
2016-03-03 | tests: move escape related tests to test-escape.c | Ronny Chevalier | |
2016-03-03 | tests: move strv related tests to test-strv.c | Ronny Chevalier | |
2016-03-03 | tests: move string related tests to test-string-util.c | Ronny Chevalier | |
2016-03-03 | tests: move hexdecoct tests to test-hexdecoct.c | Ronny Chevalier | |
2016-03-02 | test-sizeof: add a helper which prints variable sizes and signedness | Zbigniew Jędrzejewski-Szmek | |
This helps to understand misleading gcc warnings about type mismatches. | |||
2016-03-02 | test-selinux: add some simple tests which call functions and print the ↵ | Zbigniew Jędrzejewski-Szmek | |
results and timings |