fix: 增加pselect SYSCALL函数及测试用例

1.modifications:
modified:   syscall/fs_syscall.c
modified:   syscall/los_syscall.h
modified:   syscall/syscall_lookup.h
2.add 1 testcases:
modified:   testsuites/unittest/IO/BUILD.gn
modified:   testsuites/unittest/IO/full/IO_test_pselect_001.cpp
modified:   testsuites/unittest/IO/io_test.cpp
3.influence:
none

re #I45SXU
Signed-off-by: wangchen <253227059@qq.com>
Change-Id: I03a5d464fd5423c360e42f7d141035ce0d83d8a8
This commit is contained in:
teamol
2021-08-30 14:51:51 +08:00
committed by lnlan
parent 8096d9f575
commit f601c16b9e
8 changed files with 263 additions and 14 deletions

View File

@@ -93,6 +93,28 @@ HWTEST_F(IoTest, ItTestIo013, TestSize.Level0)
#endif
#if defined(LOSCFG_USER_TEST_FULL)
/* *
* @tc.name: IO_TEST_PSELECT_001
* @tc.desc: function for IoTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_PSELECT_001, TestSize.Level0)
{
IO_TEST_PSELECT_001();
}
/* *
* @tc.name: IO_TEST_PSELECT_002
* @tc.desc: function for IoTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_PSELECT_002, TestSize.Level0)
{
IO_TEST_PSELECT_002();
}
/* *
* @tc.name: IO_TEST_PPOLL_001
* @tc.desc: function for IoTest