summaryrefslogtreecommitdiff
path: root/src/test/test-copy.c
Commit message (Collapse)AuthorAge
* test-copy: remove unnecessary initializationZbigniew Jędrzejewski-Szmek2018-08-24
| | | | | | | | | Initializing just some of the values doesn't make sense. We should handle them all in the same way. In those tests there are no jumps, all steps are covered with assert_se(), so we know everything will be set if we get to the end of the function. And _not_ initializing those variables has the advantage that it allows valgrind to catch potential initalization errors in the function being tested.
* tree-wide: do not wrap assert_se in extra parenthesesZbigniew Jędrzejewski-Szmek2018-08-24
| | | | | | We were inconsitently using them in some cases, but in majority not. Using assignment in assert_se is very common, not an exception like in 'if', so let's drop the extra parens everywhere.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-08-24
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* fs-util: drop readlink_and_canonicalize()Yu Watanabe2018-05-30
|
* Prep v236 : Add missing SPDX-License-Identifier (8/9) src/testSven Eden2018-03-26
|
* test-copy: fix operation when test-copy is too smallZbigniew Jędrzejewski-Szmek2017-10-04
| | | | Fixes #6981.
* Prep v233.3: Add all possible coverage tests for elogindSven Eden2017-07-20
|
* Remove src/testAndy Wingo2015-04-19
|
* util: rework strappenda(), and rename it strjoina()Lennart Poettering2015-02-03
| | | | | | After all it is now much more like strjoin() than strappend(). At the same time, add support for NULL sentinels, even if they are normally not necessary.
* machined: when cloning a raw disk image, also set the NOCOW flagLennart Poettering2015-01-08
|
* copy: use btrfs reflinking only whe we know we copy full filesLennart Poettering2014-12-12
|
* copy: teach copy_bytes() sendfile() support, and then replace ↵Lennart Poettering2014-11-07
| | | | sendfile_full() by it
* tests: add test-copyRonny Chevalier2014-10-31