From: Ricardo S. de A. <rsa...@li...> - 2007-06-26 16:44:36
|
On Tuesday 26 June 2007 13:18:24 Mike Frysinger wrote: >On Wednesday 30 May 2007, Will Newton wrote: >> The utsname tests cause the build to fail if there is no unshare >> system call defined for an architecture. This includes all 2.4.x >> kernels. >> >> The offending code is: > >really this stuff should be merged into testcases/kernel/include/ instead of >new tests always providing their own set of ugly ifdef's Yep, you can take a look at how vmsplice (ltp/testcases/kernel/syscalls/vmsplice/vmsplice01.c) is dealing with this, it's exactly how Mike said. And please, create your patches with the ".in" files, don't edit only the 'linux_syscall_numbers.h' because it's generated automatically with 'regen.sh' script. Thanks, -- Ricardo Salveti de Araujo |