Make ${PROVE_BIN} default to the host copy of prove

Pointing prove.test.mk at a ${DESTDIR} binary
probably isn't the smartest idea in the world..

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Make test the non-default target

This will allow buildworld to pass again with
bin/test integrated into the build as the test
target is redefined in bsd.test.mk

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
include sys/stat.h so mkdir(2) is defined properly

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
printf(3) requires stdio.h

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Deal with -Wunused properly

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Deal with a missing header.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Skip *_fileactions because it doesn't compile

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Hook more testcases into the build from libc-netbsd

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>