[LTP] [PATCH 00/16] syscalls/sched_*: convert to new API and handle ENOSYS errno
    Cyril Hrubis 
    chrubis@suse.cz
       
    Tue Jul 20 19:23:16 CEST 2021
    
    
  
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
    
    
More information about the ltp
mailing list