summaryrefslogtreecommitdiff
path: root/test/nptl/tst-cancel4.c
AgeCommit message (Collapse)Author
2014-08-28test: get out of the endless while loop, when bind failedWaldemar Brodkorb
When bind() fails in this test, then /tmp get filled up with temp files and upcoming tests will fail, because they need to create temp files, too. Better exit from the loop. Test still needs to be investigated to fix the failing bind(). Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-08-28test: NPTL: sync WRITE_BUFFER_SIZE with glibc testWaldemar Brodkorb
Test on Linux 3.16.1 in Qemu ARM fails with: TEST_EXEC nptl/ tst-cancel4 ret == 1 ; expected_ret == 0 make[1]: *** [tst-cancel4.exe] Error 1 The output of failed test is: minimum write buffer size too large ../Test.mak:89: recipe for target 'tst-cancel4.exe' failed Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-08-18test_nptl: replace __sigpause with sigpauseAlexey Brodkin
On attempt to build uClibc tests following error message appears: ========= TEST_LINK nptl/ tst-cancel4 tst-cancel4.c: In function 'tf_sigpause': tst-cancel4.c:765:3: warning: implicit declaration of function '__sigpause' [-Wimplicit-function-declaration] __sigpause (SIGCANCEL, 1); ^ tst-cancel4.o: In function `tf_sigpause': tst-cancel4.c:(.text+0x1054): undefined reference to `__sigpause' collect2: error: ld returned 1 exit status ========= This commit http://git.uclibc.org/uClibc/commit/?id=cef1f9517c319d86b4b426ecc14a10d0fa5494c7 makes __sigpause static limiting its scope to "libc/signal/sigpause.c". Switching to common implementation "sigpause()" fixes this issue. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Suggested-by: Vineet Gupta <vgupta@synopsys.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-29tmpnam, tempnam are obsolete in SUSV4Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-09-15tests: Added new nptl testsSalvatore Cro
tests: Added several nptl tests from glibc 2.10.1 Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>