OSDN Git Service

test_nptl: fix expected result for tst-clock2 test
authorFilippo Arcidiacono <filippo.arcidiacono@st.com>
Mon, 2 May 2011 10:59:18 +0000 (12:59 +0200)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Mon, 2 May 2011 15:52:50 +0000 (17:52 +0200)
commiteba2360222e8e8b9218942e25ef12664bc153f2e
treeaa86d1194ed1ce4cbfed769b973e7cc375bfecbb
parented9977bf65b608ffe9772f1cc4809fe335f44d57
test_nptl: fix expected result for tst-clock2 test

tst-clock2 should return 0 when _SC_THREAD_CPUTIME option isn't
available, instead of treating it as an error.
Further set the expected ret value as 0 avoiding to hide any real failures
in case of THREAD_CPUTIME feature available.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
test/nptl/Makefile.in
test/nptl/tst-clock2.c