summaryrefslogtreecommitdiff
path: root/test/misc/tst-scandir.c
AgeCommit message (Collapse)Author
2015-03-25test: tweaksBernhard Reutner-Fischer
Fix arc4random exclusion for real. Silence warning about missing prototype for external helper-function in tst-scandir Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2008-10-10- Include stdio.h for the perror prototype, use constants from stdlib.h,Bernhard Reutner-Fischer
tidy up old-style function definition.
2008-10-09- fix test. Tests are normal userspace and are _not_ part of the libc itselfBernhard Reutner-Fischer
Thanks to Tobias Poschwatta for pointing out this error.
2008-10-06Fix scandir function to reset the errno when the Carmelo Amoroso
selector returns zero(no entries) modifying the errno. The attached test case implements a dummy filter that returns alway no entries, but change the errno. scandir is not expected to fail, just returning 0 entries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>