Author: zooey Date: 2010-06-19 23:50:14 +0200 (Sat, 19 Jun 2010) New Revision: 37181 Changeset: http://dev.haiku-os.org/changeset/37181/haiku Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/AUTHORS haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/BUILD haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/COPYING haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/ChangeLog haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.mqueues haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.semaphores haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.signals haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.threads haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.timers haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_Assertions haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_BoundaryTest haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_BugReporting haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_CodingGuidelines haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_ConformanceTest haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_Coverage haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_DefinitionsTest haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_FunctionalStressTest haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_INDEX haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_Release haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_ResultCodes haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_RunTests haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/HOWTO_Tagging haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/INSTALL haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/LDFLAGS haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Makefile haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/NEWS haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/QUICK-START haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/README haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/WIFEXITED/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/WIFEXITED/1-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/WIFEXITED/1-2.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/WIFEXITED/1-3.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/WIFEXITED/assertions.xml haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/timers/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/timers/1-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/timers/2-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/timers/assertions.xml haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/timers/coverage.txt haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/aio_h/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/aio_h/1-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/aio_h/1-2.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/aio_h/2-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/aio_h/3-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/aio_h/4-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/aio_h/assertions.xml haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/errno_h/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/errno_h/1-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/errno_h/2-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/errno_h/3-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/errno_h/3-2.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/errno_h/4-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/errno_h/assertions.xml haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/1-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/10-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/11-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/2-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/3-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/4-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/5-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/6-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/7-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/8-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/9-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/mqueue_h/assertions.xml haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/1-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/10.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/11-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/12-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/13-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/14-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/15-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/16-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/17-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/18-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/19-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/2-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/2-2.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/20-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-10.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-11.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-12.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-13.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-2.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-3.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-4.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-5.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-6.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-7.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-8.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/3-9.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/4-1.c haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/5-1.c [... truncated: 3029 added files follow ...] Log: * merged changes from trunk (last part, all of this to work around a tree conflict reported by subversion) Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/AUTHORS =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/AUTHORS (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/AUTHORS 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,8 @@ +geoffrey.r.gustafson REMOVE-THIS AT intel DOT com +inaky.perez-gonzalez REMOVE-THIS AT intel DOT com +julie.n.fleischer REMOVE-THIS AT intel DOT com +majid.awad REMOVE-THIS AT intel DOT com +rolla.n.selbak REMOVE-THIS AT intel DOT com +rusty.lynch REMOVE-THIS AT intel DOT com +salwan.searty REMOVE-THIS AT intel DOT com +sunyi REMOVE-THIS AT users DOT sourceforge DOT net Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/BUILD =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/BUILD (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/BUILD 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,145 @@ +Build Notes for POSIX Test Suite +================================ +Last update : 2004-04-04 updated for posixtestsuite-1.4.0 + +The POSIX Test Suite should be able to be run independently of any given +OS, so the OS-specific steps for configuring the POSIX Test Suite to run +are currently manual. + +IN GENERAL +========== +In general, if you need to link in a library, place the -l or -L commands +in the LDFLAGS file in the same directory as the Makefile. This will +ensure that these libraries are linked in. + +LINUX +===== +Notes for running POSIX Test Suite against Linux implementations of +POSIX functionality. (Note: If these implementations are accepted into +the kernel, then the manual intervention will no longer apply, and we will +update this document.) + +Please refer to your linux distribution's manual for the kernel and +library information. + +Notes for each test section are here. It is targeted for general linux +kernel 2.6 and glibc-2.3.3. + +============= +Clocks/Timers +============= +Both Linux kernel 2.6 and Glibc support Clocks/Timers now. +Add the '-lrt' option to the LDFLAGS. + +======= +Threads +======= + +LinuxThreads +------------- +If LinuxThreads is the default POSIX thread implementation, +to build against LinuxThreads, add the line -lpthread to LDFLAGS. + +NPTL +---- +If NPTL is the default POSIX thread implementation, +add the line -lpthread to LDFLAGS. + +Otherwise, to build against NPTL, export the following variable: + +export GLIBCDIR=/path/to/NPTL/libc-build + +Then in LDFLAGS, add the following lines: + +$GLIBCDIR/nptl/libpthread.so.0 $GLIBCDIR/libc.so.6 -Wl,-rpath,$GLIBCDIR:$GLIBCDIR/nptl:$GLIBCDIR/elf,-dynamic-linker,$GLIBCDIR/elf/ld-linux.so.2 + +NGPT +---- +To build against NGPT, export the following variables: + +export LD_PRELOAD=libpthread.so.0 +export LD_LIBRARY_PATH="/usr/lib:/lib:$LD_LIBRARY_PATH" + +Then make sure to add the line -lpthread to the file LDFLAGS. + +============== +Message Queues +============== +POSIX Message Queue (Wronski/Benedyczak's implementation) has been +included into linux kernel since 2.6.4-rc1-mm1. +But you still need to install a user library at the time of writing this +document. + +posix1b +------- +To build against the posix1b message queues, see the semaphores information for posix1b. +Also, add -I/usr/include/posix1b/ to LDFLAGS. + +Wronski/Benedyczak +------------------ +To build against the Michal Wronski/Krzysztof Benedyczak message queues, +install the kernel patches from http://www.mat.uni.torun.pl/~wrona/posix_ipc/ +and then build the user library from the same site. Add -lmqueue to +LDFLAGS to run tests. +To create the message queue file system, do: +# mkdir /dev/mqueue +# mount -t mqueue none /dev/mqueue + +========== +Semaphores +========== +NPTL +---- +If NPTL is installed as default POSIX thread library, use +'-lpthread' and '-lrt' flags. + +Otherwise, to build against NPTL, export the following variable: +export GLIBCDIR=/path/to/NPTL/libc-build +Then in LDFLAGS, add the following lines: + +$GLIBCDIR/nptl/libpthread.so.0 $GLIBCDIR/libc.so.6 -Wl,-rpath,$GLIBCDIR:$GLIBCDIR/nptl:$GLIBCDIR/elf,-dynamic-linker,$GLIBCDIR/elf/ld-linux.so.2 + + +posix1b +------- +To run the semaphore test suite against posix1b, you will need to download +and install the posix1b library. + +Start downloading it from: http://www.garret.ru/~knizhnik/posix1b.tar.gz +Once you have the library compiled and installed in /usr/lib. +Add the following library in the LDFLAGS: + + -lposix1b + +Make sure /usr/lib/ is in your PATH. + +======= +Signals +======= + +For the signals-related interfaces that start with "pthread_", refer to +the Threads section above to learn how to build those particular tests. + +Also, please note that if you using version of gcc older that version 3.2-7, +you may run into lots of build and link errors since our Makefile uses the +compiler options "-std=c99" and "-std=gnu99". The solution to this is to +use gcc version 3.2-7 or newer. + +===== +XCOFF +===== + +Since the XCOFF main is called .main, the line: +64 nm -g --defined-only $< | grep -q " T main" || exit 0; \ + +needs to replace main with .main to get these tests to compile. + +Maintainers: Julie Fleischer + Rolla Selbak + Salwan Searty + Majid Awad + Crystal Xiong + Adam Li +Contributors: Jerome Marchand + Ulrich Drepper + Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/COPYING =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/COPYING (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/COPYING 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/ChangeLog =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/ChangeLog (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/ChangeLog 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,147 @@ +10-19-2005 1.5.2 Release + - Code cleanups by Sebastien Decugis + - Add a patch for cleaner build in cross environment from Joseph S. Myers + - Add a patch to _POSIX_CPUTIME and_POSIX_THREAD_CPUTIME handling from Joseph S. Myers + - Make the aio_read/write tests concerningthe offset maximum return PTS_UNTESTED by Sebastien Decugis + - A patch from Randy.Dunlap to fix shm conformance uninitialzedvariables + - A patch from Randy.Dunlap to fix 2 pthread conformance problems + - The patches for sem_post_5_1 and sem_post_8_1 from Yi Xu + - A patch for sem_close_1_1 from Yi Xu + - A patch from Randy.Dunlap for sem_lock to increase BUF_SIZE to prevent segment fault. +06-03-2005 1.5.1 Release + - conformance/interfaces/aio_* and + conformance/interface/lio_listio: add new cases and bug + fixes by Sebastien Decugis. + - add execute.sh by B. Thangaraju. + +01-05-2005 1.5.0 Release + +07-05-2004 1.4.3 Release + +07-05-2004 adam.li@xxxxxxxxx + - functional/schedule/1-1.c 1-2.c: New case by Abhijeet Bisain. + - stress/threads/pthread_cond_timedwait/stress1.c stress2.c: + New case by Sebastien Decugis. +07-01-2004 adam.li@xxxxxxxxx + - pthread_attr_setschedparam/1-3.c 1-4.c: + Add test cases by Abhijeet Bisain. + - stress/threads/assertions.xml, + stress/threads/pthread_cond_timedwait/: New case by Sebastien Decugis +06-29-2004 adam.li@xxxxxxxxx + - pthread_attr_setinheritsched/2-3.c, 2-4.c + - functional/threads/condvar/, README: + Add test cases by Abhijeet Bisain. +06-28-2004 adam.li@xxxxxxxxx + - stress/threads/pthread_mutex_init/, pthread_mutex_lock/, + pthread_cond_init/: Add stress/scalability cases by Sebastien Decugis +06-22-2004 adam.li@xxxxxxxxx + - pthread_cond_destroy/speculative/4-1.c, pthread_mutex_destroy/ + speculative/4-2.c, pthread_exit/3-1.c: + Add new test case by Abhijeet Bisain +06-15-2004 adam.li@xxxxxxxxx + - pthread_cond_init/1-2.c, 2-2.c,4-1.c 4-2.c: Add test case by + Sebastien Decugis. + - pthread_cancel/2-2.c, 2-3.c, 3-3.c: Add test case by + Abhijeet Bisain. +06-11-2004 adam.li@xxxxxxxxx + - pthread_cond_signal: Add Sebastien DECUGIS's patch +06-07-2004 adam.li@xxxxxxxxx + - locate-test: Remove -printf argument for 'find' for POSIX conformant. + - Makefile: Remove --defined-only option for 'nm' for POSIX conformant. + - sched_yield/1-1.c: Fix warning on 64-bit system. + - pthread_attr_setstacksize/1-1.c, pthread_attr_getstacksize/1-1.c: + Remove the output. +06-04-2004 adam.li@xxxxxxxxx + - pthread_attr_getschedparam, pthread_attr_setschedparam: + Add new case by Abhijeet Bisain. + - pthread_attr_s(g)etschedpolicy: Fix. Misuse perror. +06-02-2004 adam.li@xxxxxxxxx + - clock_getres/7-1.c,8-1.c: Fix incorrect output, compile warning. +05-27-2004 adam.li@xxxxxxxxx + - sigaction/21-1.c: Fix. Add missing posixtest.h + - pthread_rwlock_trylock/3-1.c: Moved to speculative. +05-27-2004 1.4.2 Release +05-24-2004 adam.li@xxxxxxxxx + - mmap/13-1.c: Fix. mmap() will update st_atime(). + - sigaction/9-1.c: Fix. Select not block. + - strftime/1-1.c: Fix. %B judgement is not correct. + - mmap/32-1.c: Fix. Change the scenario. +05-20-2004 adam.li@xxxxxxxxx + - sched_yield/1-1.c: Fix. Incorrect thread return + status. + - Add test case by Sebastien + Decugis(sebastien.decugis@xxxxxxxxxxxx) + pthread_mutex_unlock/5-1.c, 5-2.c + - pthread_mutexattr_settype/coverage.txt: Fix. + - behavior/signal.h/18-1.c,19-1.c,20-1.c,21-1.c: Fix + struct stack_t, struct siginfo_t. +05-13-2004 adam.li@xxxxxxxxx + - Add case pthread_mutex_init/5-1.c, + pthread_mutex_init/speculative/5-2.c, + pthread_mutex_lock/3-1.c, 4-1.c, 5-1.c + by Sebastien Decugis(sebastien.decugis@xxxxxxxxxxxx) + - sem_post/8-1.c: Fix. Will leave Zombie process if fail. +05-10-2004 adam.li@xxxxxxxxx + - Apply Ulrich Drepper's patch: + sem_post/8-1.c: Add error check and clean up code + pthread_attr_getstackaddr/1-1.c: Fix printf format. + pthread_attr_setstack/2-1.c, pthread_attr_setstackaddr/2-1.c, + pthread_attr_setstacksize/2-1.c: define _GNU_SOURCE correctly. +05-09-2004 adam.li@xxxxxxxxx + - Add cases pthread_mutex_init/1-2.c, 3-2.c, 5-3.c + by Sebastien Decugis(sebastien.decugis@xxxxxxxxxxxx) +05-01-2004 1.4.1 Release +04-30-2004 adam.li@xxxxxxxxx + - sigqueue/12-1.c: Use setuid() instead of seteuid() + - sigqueue/3-1.c: Same as above. + - shm_open/40-1.c: Remove it. This case cannot exit cleanly, + leaving zombie processes. + - shm_open/33-1.c: Remove. Improper scenario. + - shm_open/23-1.c: Rewrite the test scenario. + - pthread_attr_setinheritsched/2-2.c: Bug fix + - pthread_attr_setinheritsched/5-1.c: Remove. Not correct. + - pthread_attr_setscope/5-1.c: Return PTS_UNTESTED + - sched_setparam/23-6.c: Fix the case. It was untested before. + - sched_setscheduler/17-5.c: make -1 as a invalid policy. + - sched_setscheduler/20-1.c: Fix. It was untested before. +04-29-2004 adam.li@xxxxxxxxx + - add mq_timedsend/16-1.c: Use CLOCK_REALTIME + - timer_getoverrun/2-3.c: Fix bug. It can pass on glibc now. +04-23-2004 adam.li@xxxxxxxxx + - add mmap/11-4.c mmap/11-5.c + - mmap/11-2.c mmap/11-3.c: Misunderstand the spec. Fix. +04-22-2004 adam.li@xxxxxxxxx + - pthread_mutexattr_settype/2-1.c: Bug fix +04-20-2004 adam.li@xxxxxxxxx + - mmap/24-2.c 11-2.c 11-3.c: Bug fix +04-04-2004 1.4.0 Release + - Add test cases to implement tags: CS, CPT, TCT. + - Bug fix from Ulrich Drepper. + - Tested on Linux kernel 2.6, and fixed bugs exposed. +04-30-2003 1.0.0 Release + - Complete signals suite + - Complete <sched.h> process scheduling suite + - Snapshot of threads tests (most of the non-tag associated APIs) + - Bug fixes in all areas (including adding "_POSIX_C_SOURCE=200112L" to + the Makefile to make the actual test suite POSIX compliant) + - Added QUICK-START document to top-level dir + rolla.n.selbak REMOVE-THIS AT intel DOT com +03-21-2003 0.9.0 Release + - More timers bug fixes + - Complete semaphores suite (including bug fixes) + - snapshot of signals tests (including bug fixes) + - Complete message queues suite + - Snapshot of threads tests (most of the non-tag associated APIs) + - framework bug fixes. Added the ./run_tests script. + rolla.n.selbak REMOVE-THIS AT intel DOT com +02-10-2003 0.2.0 Release + - timers bug fixes + - snapshot of semaphores tests + - snapshot of signals tests + - snapshot of threads tests + - framework can build/run functional/stress tests + julie.n.fleischer REMOVE-THIS AT intel DOT com +12-16-2002 0.1.0 Release + - timers tests for TMR and CS tags (for timers) + julie.n.fleischer REMOVE-THIS AT intel DOT com + Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.mqueues =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.mqueues (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.mqueues 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,58 @@ +Coverage-Area: Message Queues (MSG) +Area-Code: msg + +/* +COVERAGE DOCUMENT FOR MESSAGE QUEUES +==================================== + +This document lists the items that will be tested for POSIX message queues. + + Item to Test Status +========================================================== +|| Definitions WON'T DO (for now) || +|| Behavior DONE || +|| Functionality WON'T DO (for now) || +|| Stress WON'T DO (for now) || +|| Performance WON'T DO (for now) || +========================================================== +*/ + +// Function Complete? Priority Est. Completion +// ============================================================================ +mq_close YES HIGH DONE +mq_getattr YES MED DONE +mq_notify YES LOW DONE +mq_open YES HIGH DONE +mq_receive YES HIGH DONE +mq_send YES HIGH DONE +mq_setattr YES MED DONE +mq_timedreceive YES LOW DONE +mq_timedsend YES LOW DONE +mq_unlink YES MED DONE +//msgctl NO LOW WON'T +//msgget NO LOW WON'T +//msgrcv NO LOW WON'T +//msgsnd NO LOW WON'T +// =================================================== + +/* + Notes: + msgclt, msgget, msgrcv, msgsnd will not be tested at this time as they do + not apply to the MSG tag (apply to XSI). + + BUILD INFO + ========== + + posix1b - See information in BUILD file (under Semaphores). You will + also need to add -I/usr/include/posix1b/ to LDFLAGS. + + http://www.mat.uni.torun.pl/~wrona/posix_ipc/ + - Install patches and compile/install binary. + - Add -lmqueue to LDFLAGS + - Create the mqueue FS: + mkdir /dev/mqueue + mount -t mqueue none /dev/mqueue + +*/ +Maintainer: Julie Fleischer +Contributor: Crystal Xiong Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.semaphores =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.semaphores (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.semaphores 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,51 @@ +Coverage-Area: Semaphores (SEM) + +/* +COVERAGE DOCUMENT FOR SEMAPHORES +============================ + +This document lists the items that will be tested for POSIX semaphore. + + Item to Test Status +========================================================== +|| Definitions NOT STARTED || +|| Behavior IN PROGRESS || +|| Functionality NOT STARTED || +|| Stress NOT STARTED || +========================================================== +*/ + +// Function Complete? Priority +// ================================================= +sem_close YES HIGH +sem_destroy YES HIGH +sem_getvalue YES MED +sem_init YES HIGH +sem_open YES HIGH +sem_post YES HIGH +sem_timedwait YES MED +sem_trywait YES HIGH +sem_wait YES HIGH +sem_unlink YES HIGH +// =================================================== +/* + +Compile: +======== +See the BUILD file in the main directory for the most up-to-date +information on how to compile tests from within the framework. + +The way I'm compiling these test individually by: + + root# gcc 1-1.c -o 1-1 /usr/lib/libposix1b.a + + + +Clean up: +========= +file: cln.sh is a file to clean any open semaphores on the system if they remain +open after running such test. + + +*/ +Maintainer: Majid Awad Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.signals =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.signals (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.signals 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,78 @@ +Coverage-Area: Signals +Area-Code: sig + +/* +This document lists the items that will be tested for POSIX signals. + + Item to Test Status +========================================================== +|| Definitions DONE || +|| Behavior see table below || +|| Functionality see table below || +|| Stress see table below || +========================================================== + +The signal functions that will be tested as well as the priority to +the POSIX Test Suite creators are listed below. + +Columns are: +Function - function name +Tag - tag that applies to the function in the POSIX spec +Complexity - POSIX test suite owners' intuitions at complexity of the function +as well as complexity required to create a test suite (subjective) +Recommended? - set to "NO" if the POSIX spec recomments using *other* +functions instead of this one going forward; set to "YES" otherwise +Priority - POSIX test suite owners' intuitions at priorities of these +functions (subjective) +Behavior? - Has a behavior test been created? Set to DONE if finished. Set +to tester's name if in progress. Blank items are open. +Functional? - Has a functional test been created? Set to DONE if finished. +Set to tester's name if in progress. Blank items are open. +Stress? - Has a stress test been created? Set to DONE if finished. Set +to tester's name if in progress. Blank items are open. + +*/ +//Function Complete? Pri +//============================================================================= +bsd_signal WONT LOW +kill YES HIGH +killpg YES HIGH +pthread_kill YES MED +pthread_sigmask YES MED +raise YES HIGH +sigaction YES HIGH +sigaddset YES MED +sigaltstack YES LOW +sigdelset YES MED +sigemptyset YES MED +sigfillset YES MED +sighold YES MED +sigignore YES MED +siginterrupt WONT LOW +sigismember YES MED +sigpause YES MED +sigpending YES MED +sigprocmask YES MED +sigqueue YES LOW +sigrelse YES MED +sigsuspend YES MED +sigtimedwait YES LOW +sigwait YES MED +sigwaitinfo YES LOW +signal YES MED +sigset YES LOW + +/* +Items left to prioritize: +- Any additional information listed in the POSIX System Interfaces document + on signals (Namely, any requirements in section 2.4.). +- Any functional requirements listed in the POSIX Base Definitions document. + (ex. Testing that each signal listed in the POSIX Base Definitions + document functionally performs in the manner in which that document + specifies.) +*/ + +Maintainer: Salwan Searty +Contributor: Rusty Lynch +Contributor: Rolla Selbak +Contributor: Julie Fleischer Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.threads =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.threads (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.threads 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,94 @@ +Coverage-Area: Threads (THR) +Area-Code: thr + +/* +COVERAGE DOCUMENT FOR TIMERS +============================ + +This document lists the items that will be tested for POSIX threads. + + Item to Test Status +========================================================== +|| Definitions DONE || +|| Interfaces see table below || +|| Functionality NOT STARTED || +|| Stress NOT STARTED || +========================================================== +*/ + +// Function Complete? Priority +// ================================================= +pthread_attr_destroy YES HIGH +pthread_attr_getdetachstate YES HIGH +pthread_attr_init YES HIGH +pthread_attr_setdetachstate YES HIGH +pthread_cancel YES HIGH +pthread_cond_broadcast YES MED +pthread_cond_destroy YES MED +pthread_cond_init YES MED +pthread_cond_signal YES MED +pthread_cond_timedwait YES MED +pthread_cond_wait YES MED +pthread_condattr_destroy YES LOW +pthread_condattr_init YES LOW +pthread_condattr_getpshared YES LOW +pthread_condattr_setpshared YES LOW +pthread_create YES HIGH +pthread_detach YES HIGH +pthread_equal YES HIGH +pthread_exit YES HIGH +pthread_join YES HIGH +pthread_mutex_destroy YES HIGH +pthread_mutex_init YES HIGH +pthread_mutex_lock YES HIGH +pthread_mutex_trylock YES HIGH +pthread_mutex_unlock YES HIGH +pthread_mutexattr_destroy YES HIGH +pthread_mutexattr_init YES HIGH +pthread_once YES HIGH +pthread_self YES HIGH +pthread_setcancelstate YES HIGH +pthread_setcanceltype YES HIGH +pthread_testcancel YES HIGH +// =================================================== + +/* +NOTES +===== +*For now, didn't include definitions that have specific tags attributed to them. +(i.e. TPS, XSI, BAR, etc.) + +*See BUILD file in top-level dir for info on how to build and execute threads on +different implementations on Linux. + +============================= +NON-HIGH PRIORITY FUNCTIONS +============================= + +// Function Complete? Priority +// ================================================= +pthread_atfork YES LOW +pthread_attr_getschedparam YES MED +pthread_attr_setschedparam YES MED +pthread_cleanup_push YES MED +pthread_cleanup_pop YES MED +pthread_getspecific YES MED +pthread_key_create YES MED +pthread_key_delete YES MED +pthread_mutexattr_getpshared YES LOW +pthread_mutexattr_setpshared YES LOW +pthread_rwlock_destory YES LOW +pthread_rwlock_init YES LOW +pthread_rwlock_rdlock YES LOW +pthread_rwlock_timedrdlock YES LOW +pthread_rwlock_timedwrlock YES LOW +pthread_rwlock_tryrdlock YES LOW +pthread_rwlock_trywrlock YES LOW +pthread_rwlock_unlock YES LOW +pthread_rwlock_wrlock YES LOW +pthread_rwlockattr_destory YES LOW +pthread_rwlockattr_getpshared YES LOW +pthread_setspecific YES MED +*/ + +Maintainer: Rolla Selbak Added: haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.timers =================================================================== --- haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.timers (rev 0) +++ haiku/branches/developer/zooey/posix-locale/src/tests/system/libroot/posix/posixtestsuite/Documentation/COVERAGE.timers 2010-06-19 21:50:14 UTC (rev 37181) @@ -0,0 +1,80 @@ +Coverage-Area: Clocks and Timers (TMR) +Area-Code: tmr + +/* +COVERAGE DOCUMENT FOR TIMERS +============================ + +This document lists the items that will be tested for POSIX timers. + + Item to Test Status +========================================================== +|| Definitions DONE || +|| Behavior DONE with TMR and CS || +|| tags planned. || +|| see table below || +|| Functionality STOPPED FOR NOW || +|| Stress STOPPED FOR NOW || +========================================================== +*/ + +// Function Complete? Priority +// ================================================= +clock YES MED +clock_getcpuclockid YES LOW +clock_getres YES MED +clock_gettime YES* MED [... truncated: 255066 lines follow ...]