Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-24 Thread Mike Frysinger
On Monday 24 August 2009 04:44:05 Geert Uytterhoeven wrote: On Sat, 22 Aug 2009, Mike Frysinger wrote: On Saturday 22 August 2009 22:37:28 CAI Qian wrote: ENOSYS is the expected result if the kernel under test has no such implementation, so I would consider TPASS or TCONF. TPASS is

Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-24 Thread Geert Uytterhoeven
On Sat, 22 Aug 2009, Mike Frysinger wrote: On Saturday 22 August 2009 22:37:28 CAI Qian wrote: From: Garrett Cooper yaneg...@gmail.com On Fri, Aug 21, 2009 at 9:00 AM, Mike Frysinger wrote: On Friday 21 August 2009 07:57:39 CAI Qian wrote: Test cases unshare failed to compile on

Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-22 Thread CAI Qian
From: Garrett Cooper yaneg...@gmail.com Subject: Re: [LTP] The Best Practice to Skip Syscall Tests Date: Fri, 21 Aug 2009 14:17:06 -0700 On Fri, Aug 21, 2009 at 9:00 AM, Mike Frysingervap...@gentoo.org wrote: On Friday 21 August 2009 07:57:39 CAI Qian wrote: Test cases unshare failed

Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-22 Thread CAI Qian
From: Mike Frysinger vap...@gentoo.org Subject: Re: [LTP] The Best Practice to Skip Syscall Tests Date: Fri, 21 Aug 2009 12:00:32 -0400 On Friday 21 August 2009 07:57:39 CAI Qian wrote: Test cases unshare failed to compile on systems without such a syscall. I am unsure what the best way

Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-22 Thread Garrett Cooper
On Sat, Aug 22, 2009 at 7:30 PM, CAI Qiancaiq...@cclom.cn wrote: From: Mike Frysinger vap...@gentoo.org Subject: Re: [LTP] The Best Practice to Skip Syscall Tests Date: Fri, 21 Aug 2009 12:00:32 -0400 On Friday 21 August 2009 07:57:39 CAI Qian wrote: Test cases unshare failed to compile

Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-21 Thread Mike Frysinger
On Friday 21 August 2009 07:57:39 CAI Qian wrote: Test cases unshare failed to compile on systems without such a syscall. I am unsure what the best way to handle it. The old ways are, * add a kernel version check in the unshare tests code. or * add a m4 rule. * modify the unshare tests

Re: [LTP] The Best Practice to Skip Syscall Tests

2009-08-21 Thread Garrett Cooper
On Fri, Aug 21, 2009 at 9:00 AM, Mike Frysingervap...@gentoo.org wrote: On Friday 21 August 2009 07:57:39 CAI Qian wrote: Test cases unshare failed to compile on systems without such a syscall. I am unsure what the best way to handle it. The old ways are, * add a kernel version check in the