]> Kevux Git Server - fll/commit
Update: Add f_directory tests then fix problems discovered problems and perform appro... 0.5.9
authorKevin Day <thekevinday@gmail.com>
Sun, 3 Apr 2022 15:59:05 +0000 (10:59 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 3 Apr 2022 15:59:05 +0000 (10:59 -0500)
commitecddea3dff21008f9a7617925efb19182fcaa19a
tree4661989672aa25570351b3d1d56fd28ea7bc1d37
parent25c0e1862fa241b45419ca038ade57ce56a01a94
Update: Add f_directory tests then fix problems discovered problems and perform appropriate cleanups.

The "preserve_path_headers" in settings-mocks and settings-tests should be set to "yes".

Add missing dependencies-tests file for any project providing tests.

Remove at_id <= 0 parameter checks because this is already handled by EBADF.

Fix alphabetic ordering of errno returns for f_directory.
I started doing this for f_file as well until I realized how much there is to do.
I won't continue this for f_file because I don't plan on adding tests for f_file for this next release.

The ENOTDIR should return F_directory_not rather than F_directory.

Unable to perform many of the tests because the dynamic linker wrapper is not properlly handling stat() and scandir() as expected.
These tests are commented out, incomplete, and comments are added describing why.
60 files changed:
level_0/f_account/data/build/settings-mocks
level_0/f_account/data/build/settings-tests
level_0/f_capability/data/build/settings-mocks
level_0/f_capability/data/build/settings-tests
level_0/f_color/data/build/settings-mocks
level_0/f_color/data/build/settings-tests
level_0/f_console/data/build/settings-tests
level_0/f_control_group/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_control_group/data/build/settings-tests
level_0/f_conversion/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_conversion/data/build/settings-mocks
level_0/f_conversion/data/build/settings-tests
level_0/f_directory/c/directory.c
level_0/f_directory/c/directory.h
level_0/f_directory/c/directory/type.h
level_0/f_directory/c/private-directory.c
level_0/f_directory/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_directory/data/build/settings-mocks [new file with mode: 0644]
level_0/f_directory/data/build/settings-tests [new file with mode: 0644]
level_0/f_directory/data/build/testfile [new file with mode: 0644]
level_0/f_directory/tests/unit/c/mock-directory.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/mock-directory.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-create.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-create.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-create_at.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-create_at.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-exists.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-exists.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-exists_at.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-exists_at.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-is.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-is.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-is_at.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-is_at.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-list.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-list.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-open.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-open.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-open_at.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-open_at.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-remove.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-remove.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-remove_custom.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-remove_custom.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-touch.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-touch.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-touch_at.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory-touch_at.h [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory.c [new file with mode: 0644]
level_0/f_directory/tests/unit/c/test-directory.h [new file with mode: 0644]
level_0/f_file/c/file.c
level_0/f_file/c/private-file.c
level_0/f_iki/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_iki/data/build/settings-tests
level_0/f_memory/data/build/settings-tests
level_0/f_string/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_string/data/build/settings-tests
level_0/f_type_array/data/build/settings-tests
level_0/f_utf/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_utf/data/build/settings-tests