epoll_pwait, ppoll, pselect: add to process sigmask

Change-Id: I6aa1db3b4c6ad81a8b5926fa87fc645269b103b6
Refs: #1361
This commit is contained in:
Tomoki Shirasawa
2019-12-25 10:56:44 +09:00
committed by Masamichi Takagi
parent 911b07f507
commit f00d03445c
9 changed files with 362 additions and 6 deletions

22
test/issues/1361/C1361.sh Normal file
View File

@ -0,0 +1,22 @@
#!/bin/sh
USELTP=1
USEOSTEST=0
. ../../common.sh
################################################################################
uname -m
$MCEXEC ./C1361T01
for i in ppoll01:02 epoll_pwait01:03 pselect01:04 pselect03:05; do
tp=`echo $i|sed 's/:.*//'`
id=`echo $i|sed 's/.*://'`
sudo PATH=$PATH:$LTPBIN $MCEXEC $LTPBIN/$tp 2>&1 | tee $tp.txt
ok=`grep PASS $tp.txt | wc -l`
ng=`grep FAIL $tp.txt | wc -l`
if [ $ng = 0 ]; then
echo "*** C1361T$id: $tp PASS ($ok)"
else
echo "*** C1361T$id: $tp FAIL (ok=$ok ng=%ng)"
fi
done