Re: [PATCH] tests: fix uio building w/out preadv/pwritev

2014-08-11 Thread Dmitry V. Levin
On Mon, Aug 11, 2014 at 02:52:08AM -0400, Mike Frysinger wrote: [...] > -./uio || > - fail_ 'uio failed' > +./uio || { > + if [ $? -eq 77 ]; then > + framework_skip_ Note that framework_skip_ takes an argument. I've corrected this and applied. Thanks! -- ldv pgpK5flzLrbp

[PATCH] tests: fix uio building w/out preadv/pwritev

2014-08-10 Thread Mike Frysinger
The preadv/pwritev symbols weren't added to glibc until the 2.10 release, so trying to build the uio test leads to link failures. Add configure tests and update uio.test to handle this. * configure.ac (AC_CHECK_FUNCS): Add preadv/pwritev. * tests/uio.c: Include config.h. (main): Check for HAVE_PR