Warning, /testsuites/psxtests/psx01/psx01.doc is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-2-Clause
0002
0003 # testsuites/psxtests/psx01/psx01.doc
0004 # COPYRIGHT (c) 1989-2009.
0005 # On-Line Applications Research Corporation (OAR).
0006 # Copyright (c) 2013 Annelies Odermann <annelies.odermann@gmail.com>
0007 #
0008 # Redistribution and use in source and binary forms, with or without
0009 # modification, are permitted provided that the following conditions
0010 # are met:
0011 # 1. Redistributions of source code must retain the above copyright
0012 # notice, this list of conditions and the following disclaimer.
0013 # 2. Redistributions in binary form must reproduce the above copyright
0014 # notice, this list of conditions and the following disclaimer in the
0015 # documentation and/or other materials provided with the distribution.
0016 #
0017 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
0018 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
0019 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
0020 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
0021 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
0022 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
0023 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
0024 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
0025 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
0026 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
0027 # POSSIBILITY OF SUCH DAMAGE.
0028 #
0029 This file describes the directives and concepts tested by this test set.
0030
0031 test set name: psx01
0032
0033 directives:
0034 pthread_create
0035 pthread_equal
0036 sched_get_priority_min
0037 sched_get_priority_max
0038 sched_rr_get_interval
0039 sched_yield
0040 uname
0041
0042 concepts:
0043 + Verify that uname gives proper error message when utsname is not defined,
0044 or proper data if it is
0045 + Verify that sched_get_priority_min and sched_get_priority_max work as
0046 expected and give proper error messages when no policy is defined
0047 + Verify that sched_rr_get_interval works as expected and gives proper error
0048 messages
0049 + Verify that thread creation fails before thread limit is exceeded
0050 + Verify that thread yielding is operational
0051 + Verify that pthread_equal works as expected for different combinations of
0052 legitimate and illegitimate thread id’s