From: Robert W. <ro...@us...> - 2003-04-25 21:08:10
|
Doug, I'm assuming these fixes were done to overcome changes from going to NPTL. I was made aware of these problems a few weeks ago....but I was too busy to address them at that time. I'm going to test building and running the LTP with NPTL next week and, hopefully, work out the problems with it. - Robbie Robert V. Williamson <ro...@us...> Linux Test Project IBM Linux Technology Center Phone: (512) 838-9295 T/L: 678-9295 Fax: (512) 838-4603 Web: http://ltp.sourceforge.net IRC: #ltp on freenode.irc.net ==================== "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -Albert Einstein Doug Ramier To: Robert Williamson/Austin/IBM 04/24/2003 03:54 cc: PM From: Doug Ramier/Rochester/Contr/IBM@IBMUS Subject: Signal calls Hi Robbie, We have a problem with signal 32 and signal 33 not being defined. The fix we found was to define them in the files that used them. 1) Is there a patch available for these tests? 2) Could you patch them in the cvs tree? Thanks, Doug. ********************************** Added these 4 lines: #ifndef SIGCANCEL #define SIGCANCEL 32 #define SIGTIMER 33 #endif ************************************** Here's the files we had to modify: diff -r ltp-stoney/lib/tst_sig.c ltp-20030404/lib/tst_sig.c diff -r ltp-stoney/testcases/kernel/sched/pthreads/pthread_attr_init/pthread_attr_init01.2-1.c ltp-20030404/testcases/kernel/sched/pthreads/pthread_attr_init/pthread_attr_init01.2-1.c diff -r ltp-stoney/testcases/kernel/sched/pthreads/pthread_attr_setdetachstate/pthread_attr_setdetachstate01.2-1.c ltp-20030404/testcases/kernel/sched/pthreads/pthread_attr_setdetachstate/pthread_attr_setdetachstate01.2-1.c diff -r ltp-stoney/testcases/kernel/sched/pthreads/pthread_cancel/pthread_cancel01.1-3.c ltp-20030404/testcases/kernel/sched/pthreads/pthread_cancel/pthread_cancel01.1-3.c diff -r ltp-stoney/testcases/kernel/sched/tool/trace_sched.c ltp-20030404/testcases/kernel/sched/tool/trace_sched.c diff -r ltp-stoney/testcases/kernel/syscalls/sighold/sighold02.c ltp-20030404/testcases/kernel/syscalls/sighold/sighold02.c diff -r ltp-stoney/testcases/kernel/syscalls/sigrelse/sigrelse01.c ltp-20030404/testcases/kernel/syscalls/sigrelse/sigrelse01.c diff -r ltp-stoney/testcases/misc/math/float/main.c ltp-20030404/testcases/misc/math/float/main.c [v2cibdr@dougramier tmp]$ |