diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-05-20 16:08:24 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-20 15:08:24 +0200 |
commit | f942504e4f74c6d30d7b73cb602517e055f02152 (patch) | |
tree | 6c171ba5c84f0da2b73079c8ff7ab6061c3901a2 /src/test/test-path.c | |
parent | 188d3082037ddba12eae29188022d07216d4424e (diff) |
basic: remove rm_rf_and_free, add rm_rf_physical_and_free, use rm_rf_physical_and_freep in tests (#3292)
Some distros don't mount /tmp as tmpfs.
For example:
https://lists.ubuntu.com/archives/ubuntu-cloud/2016-January/001009.html
Some tests:
* print 'Attempted to remove disk file system, and we can't allow that.'
* don't really cleanup /tmp
Diffstat (limited to 'src/test/test-path.c')
-rw-r--r-- | src/test/test-path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c index 435cafd83a..62181e22a0 100644 --- a/src/test/test-path.c +++ b/src/test/test-path.c @@ -255,7 +255,7 @@ int main(int argc, char *argv[]) { NULL, }; - _cleanup_(rm_rf_and_freep) char *runtime_dir = NULL; + _cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL; const test_function_t *test = NULL; Manager *m = NULL; |