一个sprint结束,今天主要做了以下扫尾的工作
1. tncheck (C) warning
update auto_add_script_cmd__r & copy_file_by_name__r
Procedure paramater from IN to IN/OUT
2. delete_directory__r is a posix function, in sp, do not need to do this
DECISION IS_IN_WO_STATE;
( T ):
TASK ret_val := delete_directory__r(
char_ptr_t( @dir_path ) );
ENDDECISION;
3. hand1 c_test_msg_s, delete g_test_array
遗留工作
1. copy_svulog__r 问题
在execute_system_restart__r 成功之后,系统不会立即重启,但会关闭disk操作权限,所以之后执行copy_svulog__r是无效的
2. get_sw_upgrade_status__r函数,在失败的情况下会将sw_upgrade_step_t_none_c,所以当svulog被破坏之后,用户会进入sw_upgrade_step_t_none_c的处理流程,即直接创建hand1重新处理
3.
The phase of copying svulog to new build in remote sw update is failed using code as follows:
TASK g_update_status := execute_system_restart__r( p_tst_switch );
TASK g_update_status := copy_svulog__r( p_tst_switch, nw_build_info.info(0).directory );
Now,I doubt that operation of file copy is forbidden after execution of execute_system_restart__r()
问题:
1.Alarm 产生的机制?
subscribe_alarm_event
2.TIME_QUOTA消息?