6c1e3d9e80bf21118704461f62f7f454bdce344f |
|
07-Jan-2015 |
Cyril Hrubis <chrubis@suse.cz> |
openposix: sigaction-16-1: Add missing volatile. Otherwise it ends up spinnig in the while(!ready) loop indefinitely when compiled with -O2. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
354ebb48db8e66a853a58379a4808d5dcd1ceac3 |
|
07-Dec-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
cleanup code indent Cleanup the code indent using: find . -name *.c -exec Lindent {} \; It's really a big change, but can fix almost all of the indent problem in C code, although we can't ensure all of the changes are right, but the error changes are really few. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
fed9641096e27f79a0f2d9adfe9839dd8d11dc0f |
|
24-Oct-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
Fix FSF address find . -type f -exec sed -i 's/the Free Software Foundation, Inc., 59/the Free Software Foundation, Inc.,/g;s/Temple Place - Suite 330, Boston MA 02111-1307, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
37550cf5a86c7ca7424a2a318dd64e550f13f5df |
|
18-Oct-2012 |
Chris Dearman <chris@mips.com> |
Remove whitespace at end of line This is a scripted change done using the following command: find . -type d -name .git -prune -o \ -type f \! -name \*\~ \! -name .\#\* \ \! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \ xargs -0 sed -i -e 's/[\t ]*$//' Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
f33434dcdf6c4ae30a76b8cf9fdd5e242adaa409 |
|
02-Feb-2012 |
Kang Kai <kai.kang@windriver.com> |
sigaction/16-1.c: check whether SIGTLKFLT is defined There is no signal SIGTLKFLT on mips architecture, then the case wouldn't compile. Check when SIGTLKFLT is defined, then add signal SIGTLKFLT to signal set to be tested. Signed-off-by: Kang Kai <kai.kang@windriver.com> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
edeab7e292b11769a3a89e84bc33abc0db203e1c |
|
21-Oct-2011 |
Cyril Hrubis <chrubis@suse.cz> |
Second fix for sigaction/16-1.c If we failed to set the thread priority in the second thread we should rather call exit() than trying to propagate the error value, which would lead to several types of side effect (one of them is possibility of blocking the original thread in infinite loop). Also return UNTESTED on EPERM which is sematically better. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
9b507a5d3a9164d6647d7bbb579014f2aa80249c |
|
21-Oct-2011 |
Cyril Hrubis <chrubis@suse.cz> |
Fix sigaction/16-1.c * Use return value from pthread functions rather than errno * Fix typo in error propagation Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
de55e5ac14dc3e683117ae84bad34944fa7c38c6 |
|
19-Aug-2011 |
Cyril Hrubis <chrubis@suse.cz> |
Unify the test passed messages. Some of the tests printed "Test PASS" and some "Test PASSED" let's unify this on "Test PASSED". Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
03eeb763d9276a23cf8debb45194ded58358b71e |
|
20-Jun-2011 |
Peter W Morreale <pmorreale@novell.com> |
Redo the sigaction assertion 16 tests. The suite of 16-* tests for sigaction individually test SA_RESTART for a specific signal. The tests worked by creating a handler for the signal, then creating a thread which blocks in a sem_wait(). The main thread sends a signal to the child, and ensures that the child thread remains in sem_wait() (obstentively performing a restart of the sys call). This patch replaces all the individual test files with a single program that loops through testing each signal using the same methodology. For each signal, two sigactions are performed. One to set a handler for each signal tested, then another to reset the action back to the default. In addition, the old test attempted to have the main thread wait for the child thread to enter sem_wait() by performing 3 sched_yield()s. This is likely the cause of the regressions as there was no guarantee that the child actually executed to the point of entering sem_wait() prior to receipt of the signal. The new algorithm does this differently. This patch now bumps the sched policy and priority into the SCHED_FIFO class (priority 10) and uses a predicate between the child and main threads. While not a guarantee, the likelihood of the child being preempted during this race is much lower. Signed-off-by: Peter W. Morreale <pmorreale@novell.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
2c28215423293e443469a07ae7011135d058b671 |
|
16-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Style and conformance changes. 1. Strip all leading space. 2. Move tst_exit() to main(). 3. Remove tst_exit() from cleanup(). 4. Remove cluebat comments. 5. Reduce some unnecessary whitespace. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
e9410dfd93b8e415ecbe3f7e09a085462b27836e |
|
08-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
More style commits. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
515b5a7a702d903c83b14d647d9fadff35062d3f |
|
08-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Style commits. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|
0dc076565f772bb1953209fb69ea150b494aaa40 |
|
03-Jun-2005 |
robbiew <robbiew> |
Updated the open_posix_testsuite: ------------------------------------------ June 3, 2005 Version 1.5.1 Released * PTS-1.5.1 has a plenty of AIO interface test additions and bug-fixes by Sebastien Decugis. Also there are a lot of bug fixes by other people. Thanks to Sebastien Decugis and other people for continued support and contributions. * This release has been tested on glibc-2.3.3 and kernel 2.6.10 with libposix-aio-0.3. The test result for this release can be found here: http://posixtest.sourceforge.net/testpass/PTS_1.5.1-2.6.10-PAIO_ia32.htm * PTS Downloads and Release information: https://sourceforge.net/project/showfiles.php?group_id=64592&release_id= 332108 PTS Notes and Changelog: https://sourceforge.net/project/shownotes.php?release_id=332108 Thanks Ling Yu POSIX Test Suite maintainer http://posixtest.sf.net
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c
|