]> Kevux Git Server - fll/commit
Cleanup: Existing unit tests, adjust status check behavior.
authorKevin Day <thekevinday@gmail.com>
Tue, 24 May 2022 04:31:37 +0000 (23:31 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 24 May 2022 04:38:37 +0000 (23:38 -0500)
commitadcaadc2c0170b9269191087c9f012e14626e5a5
tree0c88baa4cd78f97e5d9c367c1b81badf361d892c
parentb7dbb45c755a10c9cc8fab42d6ca899e559a31e5
Cleanup: Existing unit tests, adjust status check behavior.

I was lazy with the previous behavior and always cleared the error bits when performing the comparison checks.
Change the behavior to properly check the status code for when the error bit is expected and when it is not.
174 files changed:
level_0/f_account/tests/unit/c/test-account-by_id.c
level_0/f_account/tests/unit/c/test-account-by_name.c
level_0/f_account/tests/unit/c/test-account-group_id_by_name.c
level_0/f_account/tests/unit/c/test-account-group_name_by_id.c
level_0/f_account/tests/unit/c/test-account-id_by_name.c
level_0/f_account/tests/unit/c/test-account-name_by_id.c
level_0/f_capability/tests/unit/c/test-capability-ambient_get.c
level_0/f_capability/tests/unit/c/test-capability-ambient_reset.c
level_0/f_capability/tests/unit/c/test-capability-ambient_set.c
level_0/f_capability/tests/unit/c/test-capability-clear.c
level_0/f_capability/tests/unit/c/test-capability-clear_flag.c
level_0/f_capability/tests/unit/c/test-capability-compare.c
level_0/f_capability/tests/unit/c/test-capability-copy.c
level_0/f_capability/tests/unit/c/test-capability-copy_external.c
level_0/f_capability/tests/unit/c/test-capability-copy_internal.c
level_0/f_capability/tests/unit/c/test-capability-delete.c
level_0/f_capability/tests/unit/c/test-capability-file_descriptor_get.c
level_0/f_capability/tests/unit/c/test-capability-file_descriptor_set.c
level_0/f_capability/tests/unit/c/test-capability-file_get.c
level_0/f_capability/tests/unit/c/test-capability-file_set.c
level_0/f_capability/tests/unit/c/test-capability-flag_get.c
level_0/f_capability/tests/unit/c/test-capability-flag_set.c
level_0/f_capability/tests/unit/c/test-capability-from_name.c
level_0/f_capability/tests/unit/c/test-capability-from_text.c
level_0/f_capability/tests/unit/c/test-capability-groups_set.c
level_0/f_capability/tests/unit/c/test-capability-initialize.c
level_0/f_capability/tests/unit/c/test-capability-mode_get.c
level_0/f_capability/tests/unit/c/test-capability-mode_get_name.c
level_0/f_capability/tests/unit/c/test-capability-mode_set.c
level_0/f_capability/tests/unit/c/test-capability-owner_get.c
level_0/f_capability/tests/unit/c/test-capability-owner_set.c
level_0/f_capability/tests/unit/c/test-capability-process_bound_drop.c
level_0/f_capability/tests/unit/c/test-capability-process_bound_get.c
level_0/f_capability/tests/unit/c/test-capability-process_get.c
level_0/f_capability/tests/unit/c/test-capability-process_get_by_id.c
level_0/f_capability/tests/unit/c/test-capability-process_set.c
level_0/f_capability/tests/unit/c/test-capability-security_bits_get.c
level_0/f_capability/tests/unit/c/test-capability-security_bits_set.c
level_0/f_capability/tests/unit/c/test-capability-size.c
level_0/f_capability/tests/unit/c/test-capability-to_name.c
level_0/f_capability/tests/unit/c/test-capability-to_text.c
level_0/f_capability/tests/unit/c/test-capability-user_set.c
level_0/f_color/tests/unit/c/test-color-context_delete.c
level_0/f_color/tests/unit/c/test-color-context_destroy.c
level_0/f_color/tests/unit/c/test-color-load_context.c
level_0/f_color/tests/unit/c/test-color-save_1.c
level_0/f_color/tests/unit/c/test-color-save_2.c
level_0/f_color/tests/unit/c/test-color-save_3.c
level_0/f_color/tests/unit/c/test-color-save_4.c
level_0/f_color/tests/unit/c/test-color-save_5.c
level_0/f_console/tests/unit/c/test-console-environment_process.c
level_0/f_console/tests/unit/c/test-console-identify.c
level_0/f_console/tests/unit/c/test-console-parameter_prioritize_left.c
level_0/f_console/tests/unit/c/test-console-parameter_prioritize_right.c
level_0/f_console/tests/unit/c/test-console-parameter_process.c
level_0/f_console/tests/unit/c/test-console-parameters_delete.c
level_0/f_console/tests/unit/c/test-console-parameters_destroy.c
level_0/f_control_group/tests/unit/c/test-control_group-copy.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_binary.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_decimal.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_duodecimal.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_hexidecimal.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_octal.c
level_0/f_conversion/tests/unit/c/test-conversion-number_signed_print.c
level_0/f_conversion/tests/unit/c/test-conversion-number_signed_to_string.c
level_0/f_conversion/tests/unit/c/test-conversion-number_unsigned_print.c
level_0/f_conversion/tests/unit/c/test-conversion-number_unsigned_to_string.c
level_0/f_directory/tests/unit/c/test-directory-create.c
level_0/f_directory/tests/unit/c/test-directory-create_at.c
level_0/f_directory/tests/unit/c/test-directory-exists.c
level_0/f_directory/tests/unit/c/test-directory-exists_at.c
level_0/f_directory/tests/unit/c/test-directory-is.c
level_0/f_directory/tests/unit/c/test-directory-is_at.c
level_0/f_directory/tests/unit/c/test-directory-list.c
level_0/f_directory/tests/unit/c/test-directory-open.c
level_0/f_directory/tests/unit/c/test-directory-open_at.c
level_0/f_directory/tests/unit/c/test-directory-remove.c
level_0/f_directory/tests/unit/c/test-directory-remove_custom.c
level_0/f_directory/tests/unit/c/test-directory-touch.c
level_0/f_directory/tests/unit/c/test-directory-touch_at.c
level_0/f_environment/tests/unit/c/test-environment-get.c
level_0/f_environment/tests/unit/c/test-environment-secure_is.c
level_0/f_environment/tests/unit/c/test-environment-set.c
level_0/f_environment/tests/unit/c/test-environment-unset.c
level_0/f_file/tests/unit/c/test-file-clone.c
level_0/f_file/tests/unit/c/test-file-close.c
level_0/f_file/tests/unit/c/test-file-close_flush.c
level_0/f_file/tests/unit/c/test-file-copy.c
level_0/f_file/tests/unit/c/test-file-create.c
level_0/f_file/tests/unit/c/test-file-create_at.c
level_0/f_file/tests/unit/c/test-file-create_device.c
level_0/f_file/tests/unit/c/test-file-create_device_at.c
level_0/f_file/tests/unit/c/test-file-create_fifo.c
level_0/f_file/tests/unit/c/test-file-create_fifo_at.c
level_0/f_file/tests/unit/c/test-file-create_node.c
level_0/f_file/tests/unit/c/test-file-create_node_at.c
level_0/f_file/tests/unit/c/test-file-descriptor.c
level_0/f_file/tests/unit/c/test-file-exists.c
level_0/f_file/tests/unit/c/test-file-exists_at.c
level_0/f_file/tests/unit/c/test-file-flush.c
level_0/f_file/tests/unit/c/test-file-group_read.c
level_0/f_file/tests/unit/c/test-file-is.c
level_0/f_file/tests/unit/c/test-file-is_at.c
level_0/f_file/tests/unit/c/test-file-link.c
level_0/f_file/tests/unit/c/test-file-link_at.c
level_0/f_file/tests/unit/c/test-file-link_hard.c
level_0/f_file/tests/unit/c/test-file-link_hard_at.c
level_0/f_file/tests/unit/c/test-file-link_read.c
level_0/f_file/tests/unit/c/test-file-link_read_at.c
level_0/f_file/tests/unit/c/test-file-mode_determine.c
level_0/f_file/tests/unit/c/test-file-mode_from_string.c
level_0/f_file/tests/unit/c/test-file-mode_read.c
level_0/f_file/tests/unit/c/test-file-mode_read_at.c
level_0/f_file/tests/unit/c/test-file-mode_set.c
level_0/f_file/tests/unit/c/test-file-mode_set_at.c
level_0/f_file/tests/unit/c/test-file-mode_to_mode.c
level_0/f_file/tests/unit/c/test-file-name_base.c
level_0/f_file/tests/unit/c/test-file-name_directory.c
level_0/f_file/tests/unit/c/test-file-open.c
level_0/f_file/tests/unit/c/test-file-open_at.c
level_0/f_file/tests/unit/c/test-file-owner_read.c
level_0/f_file/tests/unit/c/test-file-read.c
level_0/f_file/tests/unit/c/test-file-read_block.c
level_0/f_file/tests/unit/c/test-file-read_until.c
level_0/f_file/tests/unit/c/test-file-remove.c
level_0/f_file/tests/unit/c/test-file-remove_at.c
level_0/f_file/tests/unit/c/test-file-rename.c
level_0/f_file/tests/unit/c/test-file-rename_at.c
level_0/f_file/tests/unit/c/test-file-seek.c
level_0/f_file/tests/unit/c/test-file-size.c
level_0/f_file/tests/unit/c/test-file-size_at.c
level_0/f_file/tests/unit/c/test-file-size_by_id.c
level_0/f_file/tests/unit/c/test-file-stat.c
level_0/f_file/tests/unit/c/test-file-stat_at.c
level_0/f_file/tests/unit/c/test-file-stat_by_id.c
level_0/f_file/tests/unit/c/test-file-stream_close.c
level_0/f_file/tests/unit/c/test-file-stream_open.c
level_0/f_file/tests/unit/c/test-file-stream_open_descriptor.c
level_0/f_file/tests/unit/c/test-file-stream_read.c
level_0/f_file/tests/unit/c/test-file-stream_read_block.c
level_0/f_file/tests/unit/c/test-file-stream_read_until.c
level_0/f_file/tests/unit/c/test-file-stream_reopen.c
level_0/f_file/tests/unit/c/test-file-stream_write.c
level_0/f_file/tests/unit/c/test-file-stream_write_block.c
level_0/f_file/tests/unit/c/test-file-stream_write_range.c
level_0/f_file/tests/unit/c/test-file-stream_write_until.c
level_0/f_file/tests/unit/c/test-file-touch.c
level_0/f_file/tests/unit/c/test-file-touch_at.c
level_0/f_file/tests/unit/c/test-file-type.c
level_0/f_file/tests/unit/c/test-file-type_at.c
level_0/f_file/tests/unit/c/test-file-umask_get.c
level_0/f_file/tests/unit/c/test-file-write.c
level_0/f_file/tests/unit/c/test-file-write_block.c
level_0/f_file/tests/unit/c/test-file-write_range.c
level_0/f_file/tests/unit/c/test-file-write_until.c
level_0/f_iki/tests/unit/c/test-iki-content_is.c
level_0/f_iki/tests/unit/c/test-iki-content_partial_is.c
level_0/f_iki/tests/unit/c/test-iki-read.c
level_0/f_limit/tests/unit/c/test-limit-process.c
level_0/f_memory/tests/unit/c/test-memory-adjust.c
level_0/f_memory/tests/unit/c/test-memory-delete.c
level_0/f_memory/tests/unit/c/test-memory-destroy.c
level_0/f_memory/tests/unit/c/test-memory-new.c
level_0/f_memory/tests/unit/c/test-memory-new_aligned.c
level_0/f_memory/tests/unit/c/test-memory-resize.c
level_0/f_path/tests/unit/c/test-path-current.c
level_0/f_path/tests/unit/c/test-path-directory_cleanup.c
level_0/f_path/tests/unit/c/test-path-real.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple_get.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple_range.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple_select.c
level_0/f_serialize/tests/unit/c/test-serialize-to_simple.c
level_0/f_status_string/tests/unit/c/test-status_string-to.c