From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Tue, 20 Jul 2021 19:23:16 +0200 Subject: [LTP] [PATCH 00/16] syscalls/sched_*: convert to new API and handle ENOSYS errno In-Reply-To: <7941651c-1712-55cb-a935-277cff8b1969@bell-sw.com> References: <20210720133324.21752-1-aleksei.kodanev@bell-sw.com> <7941651c-1712-55cb-a935-277cff8b1969@bell-sw.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > >> BTW, sched_rr_get_interval* tests already using tst_variants, adding > >> more variants will double them too, right? > > > > Actually not, since we do run the test for both the libc > > sched_rr_get_interval and for all possible syscalls variants we don't > > have to touch these tests at all. > > sched_rr_get_interval works with musl, the one which returns ENOSYS > is sched_setscheduler() there, in setup(). Since this is setup we may as well switch to syscall() in the test setup and be done with it, we are not testing sched_setscheduler() in these tests. -- Cyril Hrubis chrubis@suse.cz