Add two tools: mkdoubledirs and gensamehash

mkdoubledirs creates pairs of directories a/a, b/b, c/c etc. This is to
test file lookup code: there must be a directory named blah only if the
current directory is named blah too.

gensamehash generates file names with the same XFS hash to test the
code that resolves collisions. In principle, can be updated for other
hashes: ext*, exfat, etc.
This commit is contained in:
2023-01-02 01:50:02 +00:00
parent cb8c3274af
commit fecf7be637
5 changed files with 264 additions and 8 deletions

10
.gitignore vendored
View File

@@ -8,10 +8,12 @@ umka_fuse
umka_os
umka_ping
umka_gen_devices_dat
mkdirrange
mkfilepattern
lfbviewx
randdir
tools/mkdirrange
tools/mkdoubledirs
tools/gensamehash
tools/mkfilepattern
tools/lfbviewx
tools/randdir
*.img
*.img.xz
*.img.gz