tools/ci: change sem_init_6_1 to support skip result

After SEM_VALUE_MAX change to INT_MAX, need to support
skip result.

Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
This commit is contained in:
zhangyuan29 2024-12-10 15:46:00 +08:00 committed by Xiang Xiao
parent 46701fa30c
commit fb4a246fcc

View file

@ -6984,7 +6984,7 @@ def test_ltp_interfaces_pthread_rwlock_timedrdlock_5_1(p):
def test_ltp_interfaces_sem_init_6_1(p): def test_ltp_interfaces_sem_init_6_1(p):
ret = p.sendCommand( ret = p.sendCommand(
"ltp_interfaces_sem_init_6_1", "ltp_interfaces_sem_init_6_1",
["PASSED", "passed", "Passed", "PASS"], ["PASSED", "passed", "Passed", "PASS", "skipped"],
timeout=10, timeout=10,
) )
retID = p.sendCommand("echo $?", "0", timeout=2) retID = p.sendCommand("echo $?", "0", timeout=2)