[LTP] [PATCH] build rule for t0 in open_posix_testsuite

2009-09-13 Thread Seiichi Ikarashi
3) ./execute.sh I think it's better to include step 2 into step 1 or 3 for convenience. So I wrote two different patches for these cases. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, Index: ltp/testcases/open_posix_testsuite/Makefile

[LTP] [PATCH] fix UNRESOLVED failures of pthread tests in open_posix_testsuite

2009-09-03 Thread Seiichi Ikarashi
concurrently in open_posix_testsuite. The fix shall be just delaying step 1 to between step 2 and 4, so I wrote such a patch for both pthread_setschedparam and pthread_detach. I have confirmed that this UNRESOLVED failure disappeared with this patch applied. Signed-off-by: Seiichi Ikarashi s.ikara

Re: [LTP] [PATCH] Fix a build failure of splice02 on pre-2.6.17 kernels

2009-04-28 Thread Seiichi Ikarashi
Mike Frysinger wrote: This patch adds a workaround from splice01.c to splice02.c. your change doesnt cover all cases. like when the kernel headers dont define __NR_splice. better to add an autoconf function test. -mike The testcases/kernel/include/linux_syscall_numbers.h covers such a case,

[LTP] [PATCH] Fix a build failure of splice02 on pre-2.6.17 kernels

2009-04-27 Thread Seiichi Ikarashi
a workaround from splice01.c to splice02.c. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, --- a/testcases/kernel/syscalls/splice/splice02.c 2009-04-15 15:25:58.0 +0900 +++ b/testcases/kernel/syscalls/splice/splice02.c 2009-04-28 11:02:07.0 +0900 @@ -106,10

Re: [LTP] [PATCH] Fix a build failure of splice02 on pre-2.6.17 kernels

2009-04-27 Thread Seiichi Ikarashi
Mike Frysinger wrote: On Monday 27 April 2009 22:21:59 Seiichi Ikarashi wrote: I report a build failure and a patch for it. If your kernel is version 2.6.16 or prior, build fails because of missing splice() syscall. no, the kernel doesnt matter. if your glibc version is old and doesnt

[LTP] [PATCH] cleanup and update of linux_syscall_numbers.h

2009-02-06 Thread Seiichi Ikarashi
on ia64 and x86_64 with this patch. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, Index: ltp/testcases/kernel/include/i386.in === RCS file: /cvsroot/ltp/ltp/testcases/kernel/include/i386.in,v retrieving revision

Re: [LTP] [PATCH 06/17]: Add epoll_create2_1 syscall test, testing epoll_create2(EPOLL_CLOEXEC)

2009-02-04 Thread Seiichi Ikarashi
wrote a patch for it but maybe it's no enough, 'cause I don't know whether the name of file/directory shall be changed or not. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, Index: ltp/testcases/kernel/include/i386

[LTP] [PATCH] Fix a build failure of tcore on non-x86 archs

2009-02-03 Thread Seiichi Ikarashi
. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, --- ltp-full-20090131/testcases/misc/tcore_patch_test_suites/tcore.c 2009-01-15 16:27:42.0 +0900 +++ ltp-full-20090131.modified/testcases/misc/tcore_patch_test_suites/tcore.c 2009-02-04 09:49:26.0 +0900 @@ -27,7

[LTP] [PATCH] Fix build failures of some new syscall tests on non-x86 archs

2009-02-03 Thread Seiichi Ikarashi
/kernel/syscalls/timerfd/timerfd02.c testcases/kernel/syscalls/timerfd/timerfd03.c I made a patch for it; stopping #error macro and including linux_syscall_numbers.h instead. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, --- ltp-full-20090131.orig/testcases/kernel/include

Re: [LTP] [PATCH] Fix a build failure of tcore on non-x86 archs

2009-02-03 Thread Seiichi Ikarashi
Garrett Cooper wrote: On Tue, Feb 3, 2009 at 5:34 PM, Seiichi Ikarashi s.ikara...@jp.fujitsu.com wrote: Hi, I report a build failure and a patch for it. If your system is not either i386 or x86_64, making in ltp-full-20090131 fails as follows: $ make all : make[3]: Entering directory

Re: [LTP] [PATCH] Fix a build failure of tcore on non-x86 archs

2009-02-03 Thread Seiichi Ikarashi
Shouldn't this be removed from the build (via the Makefiles / autoconf) because it doesn't apply for tcore based non-AMD chips or did I goof up the support? I agree it's better to remove it from the build, but I don't know how to do it. Had a second thought. I think it depends on the

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-18 Thread Seiichi Ikarashi
{13,14,16}.c from cvsweb individually and used them as base. I hope it works. Here is the version 6 patch. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Sorry to bother you. Regards-- Subrata Never mind. Regards, --- ltp-full-cvs/testcases/kernel/containers/libclone/libclone.c 2008

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Seiichi Ikarashi
Mike Frysinger さんは書きました: On Thursday 15 January 2009 02:17:27 Seiichi Ikarashi wrote: +#ifdef __ia64__ + ret = clone2(fn1, childstack, getpagesize(), clone_flags, arg1, NULL, NULL, NULL); +#else + ret = clone(fn1, childstack, clone_flags, arg1); +#endif look at the clone

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-15 Thread Seiichi Ikarashi
Serge E. Hallyn wrote: Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Like this? Cool, thanks, and thanks for fixing up the do_clone_tests(). However, you pass the bottom instead of the top of the stack to clone. See the use of 'childstack' in the original do_clone_tests(). I just

[LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-14 Thread Seiichi Ikarashi
(), like check_pidns_enabled.c. I attached a patch to fix them. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, --- a/testcases/kernel/containers/pidns/pidns12.c 2008-12-16 21:34:49.0 +0900 +++ b/testcases/kernel/containers/pidns/pidns12.c 2009-01-14 15:46:37.0

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-14 Thread Seiichi Ikarashi
Serge E. Hallyn wrote: Quoting Mike Frysinger (vap...@gentoo.org): On Wednesday 14 January 2009 03:27:51 Seiichi Ikarashi wrote: Since ia64 glibc does not have the clone() function call, building testcases/kernel/containers/pidns/pidns12.c fails as follows. this clone garbage is out of hand

[LTP] [PATCH] Fix ps -p failures in ltpstress.sh

2009-01-14 Thread Seiichi Ikarashi
/ltp/testscripts/ltpstress.sh?r1=1.26r2=1.27 Since I don't know why it wanted to eliminate rpcinfo command, I wrote two solutions attached. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, --- b/testscripts/ltpstress.sh 2008-12-12 00:01:18.0 +0900 +++ a/testscripts

[LTP] [PATCH] Fix broken symlink to tst_unzip_file.zip

2009-01-14 Thread Seiichi Ikarashi
lrwxrwxrwx 1 root root 18 Jan 15 12:34 /tmp/tst_unzip_file.zip - tst_unzip_file.zip # So I made a fix (this patch against ltp-full-20081231). Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com Regards, --- b/testcases/commands/unzip/Makefile 2008-12-12 23:02:42.0 +0900

Re: [LTP] [PATCH] Fix build failures of pidns on ia64 arch

2009-01-14 Thread Seiichi Ikarashi
Serge E. Hallyn wrote: Quoting Seiichi Ikarashi (s.ikara...@jp.fujitsu.com): Serge E. Hallyn wrote: Quoting Mike Frysinger (vap...@gentoo.org): On Wednesday 14 January 2009 03:27:51 Seiichi Ikarashi wrote: Since ia64 glibc does not have the clone() function call, building testcases/kernel

Re: [LTP] signalfd testcase

2009-01-04 Thread Seiichi Ikarashi
, don't they? No problem for newer systems (having autoconf version 2.61 or higher) because they don't need the default config.h. I think it's better to support more systems (expanding to older) by default for LTP itself. Signed-off-by: Seiichi Ikarashi s.ikara...@jp.fujitsu.com --- ltp-full-20081231

[LTP] [PATCH] msgctl02: correct wrong FAIL result when msgmnb is larger than 65536

2008-12-10 Thread Seiichi Ikarashi
as same as the member msg_qnum of struct msqid_ds, but msg_qnum seems to be declared as unsigned long int type on some architecture like ia64, I recommend you to use unsigned long int for new_bytes. Signed-off-by: Seiichi Ikarashi [EMAIL PROTECTED