History log of /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
775d84c8aa7bb34d2c0f65c522d5e24297506ac1 17-Apr-2013 Cyril Hrubis <chrubis@suse.cz> open_posix_testsuite/.../aio_return: Fix.

Return UNTESTED instead of UNRESOLVED when aio_return() didn't failed as
the tested behavior is optional.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
26813cd41ecd11f5a5e983fec9ed0813dbfba2b4 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> aio_*: avoid busy loop when waiting for aiocb completion

Add sleep to avoid the busy loop when waiting for the aiocb
completion.

Acked-by: Cyril Hrubis <chrubis@suse.cz>
Acked-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
fd3016779b4a2c1063ddf65c035341dd163fc1b9 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> aio_return: code cleanup

Cleanup the code indent.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
ec6edca7aa42b6affd989ef91b5897f96795e40f 18-Oct-2012 Chris Dearman <chris@mips.com> Add missing newline at end of file

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e '$a\'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
264074b49e13b99960b37be37fd3731e525b5461 21-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Allow for newer defined versions of POSIX than POSIX 2001.1

I was prodded many times by Cyril Hrubis about this.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
bf531a8d54487b2666b2bb9ecdfef08f98ffc350 21-Oct-2010 Garrett Cooper <yanegomi@gmail.com> Polish off some rough edges with previous fixup.

1. Add close(2) calls everywhere that I touched to consistently close
file descriptors after use (even though the OS, which should be POSIX
compliant, should clean up the file descriptors on exit).
2. Add a missing exit(3).

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
2a9ad0bdf07565bac32eeb02d2e01f78b41a32d1 21-Oct-2010 Garrett Cooper <yanegomi@gmail.com> Fix aio_return conformance testcases.

The problem with the testcases is that the original writer assumed that
the values were stored in the global errno instead of a value
retrievable via aio_error, and ignored the following item in the POSIX
spec that states:

If the error status for the operation is equal to [EINPROGRESS], then
the return status for the operation is undefined.

Thus, the results were incorrect in some cases, as determined through
testing by Mitani-san.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
ec5557833ef9b56de0a174b976d06dce396b4112 11-Jul-2010 Garrett Cooper <yanegomi@gmail.com> Commit more runtime checks for aio_* on FreeBSD.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
fc03c4feda65ea77df4efab3fc76fd774f476775 29-May-2009 subrata_modak <subrata_modak> postponing close() after aio_write() has finished II and cleanups: I've fixed all the sources in the aio_return directory (from the same errors as previous one) and cleaned the coding style a little. Signed-off-by: Cyril Hrubis chrubis@suse.cz.
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
86a2baa475416e1e6aa26664732466f16c59d6be 26-May-2009 subrata_modak <subrata_modak> Postponing close() after aio_write() has finished: In aio_return/1-1.c close() is called after asynchronous I/O write was queued. This according to POSIX may end up in one of two ends and it's implementation specified. One end is writing the file correctly while the other one is behave like aio_cancel() was called. (http://www.opengroup.org/onlinepubs/9699919799/functions/close.html). Test mentoined above rely on finishing asynchronous I/O correctly in this case. To fix that you must postpone close() after asynchronous I/O has finished. Signed-of-by: chrubis@suse.cz.
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
0dc076565f772bb1953209fb69ea150b494aaa40 03-Jun-2005 robbiew <robbiew> Updated the open_posix_testsuite:
------------------------------------------
June 3, 2005 Version 1.5.1 Released

* PTS-1.5.1 has a plenty of AIO interface test additions and bug-fixes
by Sebastien Decugis. Also there are a lot of bug fixes by other people.
Thanks to
Sebastien Decugis and other people for continued support and
contributions.

* This release has been tested on glibc-2.3.3 and kernel 2.6.10 with
libposix-aio-0.3.
The test result for this release can be found here:
http://posixtest.sourceforge.net/testpass/PTS_1.5.1-2.6.10-PAIO_ia32.htm


* PTS Downloads and Release information:
https://sourceforge.net/project/showfiles.php?group_id=64592&release_id=
332108
PTS Notes and Changelog:
https://sourceforge.net/project/shownotes.php?release_id=332108

Thanks
Ling Yu
POSIX Test Suite maintainer
http://posixtest.sf.net
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
19b5dc744e2b73f745491e5a081873f6c1417528 03-Jun-2005 robbiew <robbiew> Removed old version of Open POSIX Test Suite (OPTS).
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c
fefb369f1720424bd278d884a8d1348052acd376 20-Dec-2004 robbiew <robbiew> Update to Version 1.5.0
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/1-1.c