Files
mckernel/test/issues/1361/C1361_arm64.txt
Tomoki Shirasawa f00d03445c epoll_pwait, ppoll, pselect: add to process sigmask
Change-Id: I6aa1db3b4c6ad81a8b5926fa87fc645269b103b6
Refs: #1361
2020-01-09 06:54:23 +00:00

84 lines
3.6 KiB
Plaintext

Script started on 2020-01-06 07:21:17+00:00
bash-4.4$ make test
gcc C1361T01.c -o C1361T01
sh ./C1361.sh
mcstop+release.sh ... done
mcreboot.sh -c 2-7,10-15 -m 2G@0 -O ... done
aarch64
*** C1361T01: PASS
tst_test.c:1072: INFO: Timeout per run is 0h 05m 00s
ppoll01.c:221: INFO: case NORMAL
ppoll01.c:252: PASS: revents=0x0005
ppoll01.c:258: PASS: ret: 1
ppoll01.c:221: INFO: case MASK_SIGNAL
ppoll01.c:258: PASS: ret: 0
ppoll01.c:221: INFO: case TIMEOUT
ppoll01.c:258: PASS: ret: 0
ppoll01.c:221: INFO: case FD_ALREADY_CLOSED
ppoll01.c:252: PASS: revents=0x0020
ppoll01.c:258: PASS: ret: 1
ppoll01.c:221: INFO: case SEND_SIGINT
ppoll01.c:261: PASS: ret: -1, errno: EINTR (4)
ppoll01.c:221: INFO: case SEND_SIGINT_RACE_TEST
ppoll01.c:261: PASS: ret: -1, errno: EINTR (4)
ppoll01.c:221: INFO: case INVALID_NFDS
ppoll01.c:261: PASS: ret: -1, errno: EINVAL (22)
ppoll01.c:221: INFO: case INVALID_FDS
ppoll01.c:261: PASS: ret: -1, errno: EFAULT (14)
Summary:
passed 10
failed 0
skipped 0
warnings 0
*** C1361T02: ppoll01 PASS (10)
epoll_pwait01 1 TPASS : epoll_pwait(sigmask) blocked signal
epoll_pwait01 0 TINFO : Child process returned TPASS
epoll_pwait01 2 TPASS : epoll_wait() failed as expected: TEST_ERRNO=EINTR(4): Interrupted system call
epoll_pwait01 0 TINFO : Child process returned TPASS
*** C1361T03: epoll_pwait01 PASS (4)
tst_test.c:1072: INFO: Timeout per run is 0h 05m 00s
tst_timer_test.c:356: INFO: CLOCK_MONOTONIC resolution 1ns
tst_timer_test.c:368: INFO: prctl(PR_GET_TIMERSLACK) = 50us
tst_timer_test.c:275: INFO: pselect() sleeping for 1000us 500 iterations, threshold 450.01us
tst_timer_test.c:318: INFO: min 1301us, max 1435us, median 1347us, trunc mean 1347.14us (discarded 25)
tst_timer_test.c:333: PASS: Measured times are within thresholds
tst_timer_test.c:275: INFO: pselect() sleeping for 2000us 500 iterations, threshold 450.01us
tst_timer_test.c:318: INFO: min 2338us, max 2423us, median 2348us, trunc mean 2348.02us (discarded 25)
tst_timer_test.c:333: PASS: Measured times are within thresholds
tst_timer_test.c:275: INFO: pselect() sleeping for 5000us 300 iterations, threshold 450.04us
tst_timer_test.c:318: INFO: min 5341us, max 5433us, median 5349us, trunc mean 5349.26us (discarded 15)
tst_timer_test.c:333: PASS: Measured times are within thresholds
tst_timer_test.c:275: INFO: pselect() sleeping for 10000us 100 iterations, threshold 450.33us
tst_timer_test.c:318: INFO: min 10344us, max 10413us, median 10353us, trunc mean 10353.22us (discarded 5)
tst_timer_test.c:333: PASS: Measured times are within thresholds
tst_timer_test.c:275: INFO: pselect() sleeping for 25000us 50 iterations, threshold 451.29us
tst_timer_test.c:318: INFO: min 25345us, max 25379us, median 25352us, trunc mean 25352.15us (discarded 2)
tst_timer_test.c:333: PASS: Measured times are within thresholds
tst_timer_test.c:275: INFO: pselect() sleeping for 100000us 10 iterations, threshold 537.00us
tst_timer_test.c:318: INFO: min 100397us, max 100414us, median 100406us, trunc mean 100404.56us (discarded 1)
tst_timer_test.c:333: PASS: Measured times are within thresholds
tst_timer_test.c:275: INFO: pselect() sleeping for 1000000us 2 iterations, threshold 4400.00us
tst_timer_test.c:318: INFO: min 1001303us, max 1001414us, median 1001303us, trunc mean 1001303.00us (discarded 1)
tst_timer_test.c:333: PASS: Measured times are within thresholds
Summary:
passed 7
failed 0
skipped 0
warnings 0
*** C1361T04: pselect01 PASS (7)
tst_test.c:1072: INFO: Timeout per run is 0h 05m 00s
pselect03.c:43: PASS: pselect() succeeded retval=0
Summary:
passed 1
failed 0
skipped 0
warnings 0
*** C1361T05: pselect03 PASS (1)
bash-4.4$ exit
exit
Script done on 2020-01-06 07:21:39+00:00