The unit tests are out of date.
Fix a few of the obvious problems.
There will be more problems to solve that are not solved in this commit.
const f_status_t status = f_capability_ambient_get(value, &ambient);
- assert_int_equal(F_status_set_fine(status), F_supported_not);
+ assert_int_equal(F_status_set_fine(status), F_support_not);
assert_int_equal(ambient, -1);
}
#endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
F_memory_not,
F_directory_not,
F_prohibited,
- F_supported_not,
+ F_support_not,
F_failure,
};
F_memory_not,
F_directory_not,
F_prohibited,
- F_supported_not,
+ F_support_not,
F_failure,
};
F_memory_not,
F_directory_not,
F_prohibited,
- F_supported_not,
+ F_support_not,
F_failure,
};
F_memory_not,
F_directory_not,
F_prohibited,
- F_supported_not,
+ F_support_not,
F_failure,
};
F_memory_not,
F_directory_not,
F_prohibited,
- F_supported_not,
+ F_support_not,
F_failure,
};
F_memory_not,
F_directory_not,
F_prohibited,
- F_supported_not,
+ F_support_not,
F_failure,
};
void test__f_console_identify__works(void **state) {
- f_console_id_t id = f_console_id_t_initialize;
+ f_console_result_t id = f_console_result_t_initialize;
{
const f_string_t input = f_string_t_initialize;
const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_exclusive_e);
- assert_int_equal(F_status_set_fine(status), F_supported_not);
+ assert_int_equal(F_status_set_fine(status), F_support_not);
} // for
}
}
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
const f_status_t status = f_file_create_device(path, modes[i], 0, 0);
- assert_int_equal(F_status_set_fine(status), F_supported_not);
+ assert_int_equal(F_status_set_fine(status), F_support_not);
} // for
}
}
const f_status_t status = f_file_create_device_at(0, path, modes[i], 0, 0);
- assert_int_equal(F_status_set_fine(status), F_supported_not);
+ assert_int_equal(F_status_set_fine(status), F_support_not);
} // for
}
}
const f_status_t status = f_file_create_node(path, modes[i], 0);
- assert_int_equal(F_status_set_fine(status), F_supported_not);
+ assert_int_equal(F_status_set_fine(status), F_support_not);
} // for
}
}
const f_status_t status = f_file_create_node_at(0, path, modes[i], 0);
- assert_int_equal(F_status_set_fine(status), F_supported_not);
+ assert_int_equal(F_status_set_fine(status), F_support_not);
} // for
}
}
f_status_t statuss[] = {
F_file_descriptor,
F_filesystem_quota_block,
- F_supported_not,
+ F_support_not,
F_input_output,
F_space_not,
- F_supported_not,
+ F_support_not,
F_file_synchronize,
};
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_memory_not,
F_space_not,
F_file_type_not_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_prohibited,
F_read_only,
F_read_only,
F_busy,
F_directory,
- F_supported_not,
+ F_support_not,
F_number_overflow,
F_failure,
};
f_status_t statuss[] = {
F_resource_not,
- F_supported_not,
+ F_support_not,
F_parameter,
F_found_not,
F_failure,
F_stream_not,
F_protocol,
F_prohibited,
- F_supported_not,
+ F_support_not,
F_protocol_not,
F_time_out,
F_block,
const f_status_t status = f_socket_disconnect(&socket, 100);
- assert_int_equal(status, F_status_set_error(F_supported_not));
+ assert_int_equal(status, F_status_set_error(F_support_not));
assert_int_equal(socket.id, 1);
}
}
F_busy_address,
F_file_descriptor,
F_socket_not,
- F_supported_not,
+ F_support_not,
F_failure,
};
F_success,
F_success_not,
F_supported,
- F_supported_not,
+ F_support_not,
F_syntax,
F_syntax_not,
F_terminate,
};
f_status_t statuss[] = {
- F_supported_not,
+ F_support_not,
F_found_not,
F_failure,
};
f_status_t statuss[] = {
F_deadlock,
F_parameter,
- F_supported_not,
+ F_support_not,
F_found_not,
F_failure,
};
F_busy,
F_status_set_error(F_deadlock),
F_status_set_error(F_parameter),
- F_status_set_error(F_supported_not),
+ F_status_set_error(F_support_not),
F_status_set_error(F_found_not),
F_time,
F_status_set_error(F_failure),
F_busy,
F_status_set_error(F_deadlock),
F_status_set_error(F_parameter),
- F_status_set_error(F_supported_not),
+ F_status_set_error(F_support_not),
F_status_set_error(F_found_not),
F_status_set_error(F_failure),
};
};
f_status_t statuss[] = {
- F_supported_not,
+ F_support_not,
F_failure,
};
f_status_t statuss[] = {
F_parameter,
- F_supported_not,
+ F_support_not,
F_failure,
};
f_status_t statuss[] = {
F_resource_not,
- F_supported_not,
+ F_support_not,
F_parameter,
F_found_not,
F_failure,
F_success,
F_success_not,
F_supported,
- F_supported_not,
+ F_support_not,
F_syntax,
F_syntax_not,
F_terminate,