History log of /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8019f59ecfb2a7e9258e25defb6c936777651b55 02-Feb-2017 Cyril Hrubis <chrubis@suse.cz> aio_suspend_4-1: Fix failures on s390x

The testcase often fails on s390x due to fast I/O. The AIO request we
wanted to timeout on finishes too fast most of the time.

While this is not a complete fix it's good enough so that the test works
fine if executed 1000 times, previously the success ratio was between
20% and 80%.

This patch changes:

* The file is written instead of read
- this simplifies the code and also ensures that we are not just
reading data from kernel caches

* The file is opened with O_SYNC
- which increases chance that the buffers are not written too fast

* The timeout is decreased

* The buffer sizes are increased, especially for the AIO operation we
want to timeout on

+ Simplifications in error paths

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Acked-by: Jan Stancek <jstancek@redhat.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c
4ca2bbdcd3003f3c8df4e6129e9c7b2bd1514f87 25-Mar-2013 Cyril Hrubis <chrubis@suse.cz> open_posix_testsuite/conformace/interfaces: Fix.

Change the main() and main(argc, argv) to main(void).

This fixes a lot of warnings in the latter case.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c
80e143cec4b04a611ad48964db5594b16de7b7dc 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> aio_suspend: code cleanup

Cleanup the code indent.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c
d77820b250ff55fe5ddecf28024deb25b91d4677 17-Feb-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> aio_suspend: cleanup the coding style

fix the coding style.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c
e79aabe2ffaa0e804c80121922e6f6de7651d4de 21-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Fix testcase.

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
Acked-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-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_suspend/4-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_suspend/4-1.c
80886b520423c015b63cff03082e274147042243 20-Jun-2010 Garrett Cooper <yanegomi@gmail.com> Fix POSIX compliancy of these testcases.

Most of these testcases had issues building on FreeBSD dealing with missing
headers and a few glibc ones (features.h).

There are still a few outstanding build related issues, but those will
be worked out shortly with a bit more research.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-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_suspend/4-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_suspend/4-1.c
fefb369f1720424bd278d884a8d1348052acd376 20-Dec-2004 robbiew <robbiew> Update to Version 1.5.0
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/4-1.c