-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Remove dead code in lib/, port libltp to FreeBSD, and port some testcases to FreeBSD #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Use setpgid instead of setpgrp - Add *BSD support - Mute some -Wuninitialized warnings - Mute some clang warnings - Add a simple script for printing out the overall run summary Sponsored-by: EMC / Isilon Storage Division
I'm not as pedantic as I was before Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
This involved... - Muting a clang warnings - Removing #includes to malloc.h - Stubbing out Linux-specific pieces. - Stubbing out memalign (it's an obsolete Linux syscall) - Fix typecasting in va_arg in safe_open function to mute clang warnings - Use SIGCHLD instead of SIGCLD for portability reasons - Port errnos.h to FreeBSD - Remove sys/sysmacros.h (it was unused) - Port tst_resm to portable pthreads Signed-off-by: Garrett Cooper <yanegomi@gmail.com> Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Port K&R function declarations to something non-K&R like Sponsored-by: EMC / Isilon Storage Division
Add an "assert" to make sure that the value is good at least once Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
Automatically determine whether or not one is running Linux by whether or not __linux__ is defined via the compiler Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
…pliant code Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
Convert the value to a long to get past a clang warning Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
….h for strerror Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
Sponsored-by: EMC / Isilon Storage Division
|
These are more complicated changes than the last trivial ones it would be better to send them to the mailing list as well because it's still primary place for patch review. |
|
What is the status of this pull request. I've looked at the patches but they are quite messy, some does not apply to LTP git HEAD, some partially reverts changes introduced by previous patches. Should I close the pull request? Are you planning on cleaning up the patches so that they are applicable? |
|
Please don't close this issue, I'm going to rebase the changes to HEAD. My platform is NetBSD-current. |
|
There was no real work done on this for 2014, closing. |
Only newlib testcases support SAFE macros in cleanup(). When SAFE_UNLINK fails, it creates infinite loop between tst_brk_ and cleanup: #0 tst_res__ at tst_res.c:153 #1 0x0000000000407ba8 in tst_brk__ at tst_res.c:480 #2 0x00000000004081fe in tst_brkm_ at tst_res.c:577 #3 0x000000000040a7c9 in safe_unlink at safe_macros.c:358 #4 0x0000000000404abd in cleanup () at pipeio.c:497 #5 0x0000000000407bc7 in tst_brk__ at tst_res.c:498 #6 0x00000000004081fe in tst_brkm_ at tst_res.c:577 #7 0x000000000040c1d6 in def_handler at tst_sig.c:231 #8 <signal handler called> #9 0x00007f29c2cbd1f7 in __GI_raise at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #10 0x00007f29c2cbe8e8 in __GI_abort () at abort.c:90 #11 0x00000000004081af in tst_brkm_ at tst_res.c:581 #12 0x000000000040a7c9 in safe_unlink at safe_macros.c:358 #13 0x0000000000404abd in cleanup () at pipeio.c:497 #14 0x0000000000407bc7 in tst_brk__ at tst_res.c:498 #15 0x00000000004081fe in tst_brkm_ at tst_res.c:577 #16 0x000000000040c1d6 in def_handler at tst_sig.c:231 #17 <signal handler called> #18 0x00007f29c2cbd1f7 in __GI_raise at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #19 0x00007f29c2cbe8e8 in __GI_abort () at abort.c:90 #20 0x00000000004081af in tst_brkm_ at tst_res.c:581 #21 0x000000000040a7c9 in safe_unlink at safe_macros.c:358 #22 0x0000000000404abd in cleanup () at pipeio.c:497 ... Signed-off-by: Jan Stancek <jstancek@redhat.com>
Needs to be compiled against Linux and tested.
Sponsored-by: EMC / Isilon Storage Division
Signed-off-by: Garrett Cooper yanegomi@gmail.com