summaryrefslogtreecommitdiff
path: root/src/kernel/tests/vfs.c
AgeCommit message (Collapse)Author
2021-11-14shared: use a single implementation of mem* functions everywheredzwdz
2021-11-03kernel/vfs: tidy up path_simplify, fix a bug and add regression testsdzwdz
the bug related to paths ending with /.. and not resolving to /
2021-09-22free the mounts created in tests/vfs.cdzwdz
2021-09-21start using sparse's `-Wnon-pointer-null`dzwdz
While I personally don't see a reason to use NULL instead of 0, I assume that whoever made that a sparse default knew what they were doing.
2021-09-21start using sparse's `-Wdecl`dzwdz
2021-09-08style: simplify the `kmalloc(sizeof(...` callsdzwdz
2021-09-05move most of the memory stuff to kernel/mem/dzwdz
2021-08-27make vfs_mount_resolve pass all the testsdzwdz
2021-08-27basic vfs_mount_resolve testsdzwdz
2021-08-24replace () with (void) in function definitionsdzwdz
`()` means that any amt of arguments will be accepted, which isn't what i want
2021-08-09a sloppy implementation of path_simplify()dzwdz
it's kinda bad. it passes the tests, though...
2021-08-08path_simplify now returns int, has better testsdzwdz
2021-08-04partial path_simplify implementationdzwdz
it currently only checks if the path is valid, it's the bare minimum needed to write tests