]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-systemd-tmpfiles.py: create global temporary directory 26880/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 Mar 2023 13:24:53 +0000 (22:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 Mar 2023 13:27:41 +0000 (22:27 +0900)
commit458e8d6dd03ffa3f7591de8ff496c8453efd9c6d
tree4687ce4490b37da1b661f0be4d02154c12f403dd
parent015ddd4bf03c011d7051590b8bfb89979a52d162
test-systemd-tmpfiles.py: create global temporary directory

For some unknown reasons, the temporary directory created by the test
below is not removed:
```
 # Test the case that a valid symlink is in the path.
 label = 'valid_symlink-deep'
 test_content('f= {} - - - - ' + label, label, user=user, subpath='/deep/1/2', path_cb=valid_symlink)
```
To keep /tmp clean, let's create the global temprary directory.
test/test-systemd-tmpfiles.py