Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2016-03-01 | selinux: always try to load the full selinux db | Zbigniew Jędrzejewski-Szmek | |
https://github.com/systemd/systemd/pull/2508#issuecomment-190901170 Maybe fixes https://bugzilla.redhat.com/show_bug.cgi?id=1308771. | |||
2016-02-29 | test-clock: fix FILE* leak | Martin Pitt | |
Close the FILE* instead of the underlying fd. | |||
2016-02-29 | test-clock: fix assertions | Martin Pitt | |
Use assert_se() to ensure that they don't get optimized away. | |||
2016-02-29 | test-clock: fix fd "leak" | Zbigniew Jędrzejewski-Szmek | |
CID #1352301. | |||
2016-02-26 | clock-util: be more tolerant in parsing /etc/adjtime | Martin Pitt | |
As we default to "hardware clock is in UTC" if /etc/adjtime is not present, it also makes sense to have that default if /etc/adjtime contains only one or two lines. Drop the "gibberish" test case, as this was just EIO because of not containing three lines, which is already contained in other tests. clock_is_localtime() never actually validated the format of the first two lines, and there is little point in doing that. This addresses the reading half of issue #2638. | |||
2016-02-26 | clock-util: make clock_is_localtime() testable and add initial tests | Martin Pitt | |
Add path argument to clock_is_localtime() and default to "/etc/adjtime" if it's NULL. This makes the function testable. Add test-clock: initial test cases for some scenarios, using a temporary file. This also checks the behaviour with a NULL (i. e. the system's /etc/adjtime) file. | |||
2016-02-24 | Merge pull request #2719 from evverx/add-test-to-makefile | Martin Pitt | |
tests: various fixes | |||
2016-02-23 | tree-wide: minor formatting inconsistency cleanups | Vito Caputo | |
2016-02-23 | tests: fix x86 personality tests to only on x86 | Lennart Poettering | |
2016-02-23 | Merge pull request #2709 from vcaputo/normalize_inc_dec_usage | Martin Pitt | |
tree-wide: make ++/-- usage consistent WRT spacing | |||
2016-02-22 | tree-wide: make ++/-- usage consistent WRT spacing | Vito Caputo | |
Throughout the tree there's spurious use of spaces separating ++ and -- operators from their respective operands. Make ++ and -- operator consistent with the majority of existing uses; discard the spaces. | |||
2016-02-22 | tests: add personality tests | Lennart Poettering | |
2016-02-22 | calendarspec: fix find_next skipping times | Hristo Venev | |
reset usec when bumping hours/minutes | |||
2016-02-20 | test-siphash24: add a test for concatenating very short buffers | Zbigniew Jędrzejewski-Szmek | |
coverity seems to think that our siphash code can read past the end of a short buffer. Add a test which adds very short buffers with different combinations of length to the hash. Hashing is done twice, once with zeros following "data", and once with some other bytes following "data". The two results are then compared to verify that the result does not depend on bytes past the specified data length. (This test passes.) | |||
2016-02-18 | test-hashmap: fix undefined behaviour on string constants | Zbigniew Jędrzejewski-Szmek | |
The test was failing at -O2+ with gcc 5.3 and 6.0. "val1" == "val1" and "val1" != "val1" are both valid. http://stackoverflow.com/questions/4843640/why-is-a-a-in-c |