summaryrefslogtreecommitdiff
path: root/src/udev/test-udev-node.c
Commit message (Collapse)AuthorAgeFilesLines
* udev: always use last 11 chars for hash stringYu Watanabe2021-06-041-1/+9
| | | | | | | This makes the last 11 chars are always preserved for hashed string. So, it is hard to generate a path which conflicts to another path. Fixes an issue demonstrated in the previous commit.
* test: add a testcase that demonstrates a conflict of hashed filenameYu Watanabe2021-06-041-0/+4
| | | | | | The commit e64943363a8dd8bd320c2b633478be8befd1af5c introduces hashed path at the end of the filename. But we can easily generate the path which conflicts another path. The issue will be fixed in later commit.
* test: add tests for udev_node_escape_path()Yu Watanabe2021-06-041-0/+44