Re: [PATCH v2 3/3] y2038: testsuite/smokey/y2038: testcase for nanosleep64

2021-04-27 Thread Bezdeka, Florian via Xenomai
On Wed, 2021-04-21 at 16:38 +0800, Song Chen wrote: >   > > +static int test_sc_cobalt_clock_nanosleep64(void)+{ > + long ret; > + int code = __xn_syscode(sc_cobalt_clock_nanosleep64); > + struct xn_timespec64 next, rmt; > + struct timespec now; > + > + /* Make sure we don't

Re: [PATCH v2 3/3] y2038: testsuite/smokey/y2038: testcase for nanosleep64

2021-04-27 Thread chensong_2000--- via Xenomai
在 2021/4/26 下午7:57, Bezdeka, Florian 写道: On Tue, 2021-04-27 at 01:05 +0800, chensong_2...@189.cn wrote: 在 2021/4/23 下午8:48, Bezdeka, Florian 写道: On Wed, 2021-04-21 at 16:38 +0800, Song Chen wrote: +static int test_sc_cobalt_clock_nanosleep64(void)+{ + long ret; + int

Re: [PATCH v2 3/3] y2038: testsuite/smokey/y2038: testcase for nanosleep64

2021-04-27 Thread Bezdeka, Florian via Xenomai
On Tue, 2021-04-27 at 01:05 +0800, chensong_2...@189.cn wrote: > > 在 2021/4/23 下午8:48, Bezdeka, Florian 写道: > > On Wed, 2021-04-21 at 16:38 +0800, Song Chen wrote: > > >    > > > > > > > > > > > > > > > +static int test_sc_cobalt_clock_nanosleep64(void)+{ > > > + long ret; > > > + int code =

Re: [PATCH v2 3/3] y2038: testsuite/smokey/y2038: testcase for nanosleep64

2021-04-27 Thread chensong_2000--- via Xenomai
在 2021/4/23 下午8:48, Bezdeka, Florian 写道: On Wed, 2021-04-21 at 16:38 +0800, Song Chen wrote: +static int test_sc_cobalt_clock_nanosleep64(void)+{ + long ret; + int code = __xn_syscode(sc_cobalt_clock_nanosleep64); + struct xn_timespec64 next, rmt; + struct

[PATCH v2 3/3] y2038: testsuite/smokey/y2038: testcase for nanosleep64

2021-04-21 Thread Song Chen via Xenomai
From: chensong add test case for clock_nanosleep64 in testsuite Signed-off-by: chensong --- v2: 1, REALTIME --> MONOTONIC 2, more combinations 3, smokey warning in clock_gettime 4, remove magic number --- testsuite/smokey/y2038/syscall-tests.c | 50 ++ 1 file

Re: [PATCH v2 3/3] y2038: testsuite/smokey/y2038: testcase for nanosleep64

2021-04-21 Thread Jan Kiszka via Xenomai
On 20.04.21 08:25, Song Chen via Xenomai wrote: > From: chensong > > add test case for clock_nanosleep64 in testsuite > > Signed-off-by: chensong > > --- > v2: > 1, REALTIME --> MONOTONIC > 2, more combinations > 3, smokey warning in clock_gettime > 4, remove magic number > --- >

[PATCH v2 3/3] y2038: testsuite/smokey/y2038: testcase for nanosleep64

2021-04-20 Thread Song Chen via Xenomai
From: chensong add test case for clock_nanosleep64 in testsuite Signed-off-by: chensong --- v2: 1, REALTIME --> MONOTONIC 2, more combinations 3, smokey warning in clock_gettime 4, remove magic number --- testsuite/smokey/y2038/syscall-tests.c | 50 ++ 1 file