psxtests/*/*.doc: Convert to UNIX format

Accidentally committed in DOS format.
This commit is contained in:
Joel Sherrill
2025-03-18 12:25:45 -05:00
committed by Kinsey Moore
parent 6e5d82c160
commit 812901f53b
6 changed files with 157 additions and 157 deletions

View File

@@ -1,29 +1,29 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# /testsuites/psxtests/psx03/psx03.scn # /testsuites/psxtests/psx03/psx03.scn
# #
# Copyright (c) 2013 Rishi Sharma <rishisharma7361@gmail.com>. # Copyright (c) 2013 Rishi Sharma <rishisharma7361@gmail.com>.
# #
# The license and distribution terms for this file may be # The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at # found in the file LICENSE in this distribution or at
# http://www.rtems.org/license/LICENSE. # http://www.rtems.org/license/LICENSE.
# #
This file describes the directives and concepts tested by this test set. This file describes the directives and concepts tested by this test set.
test set name: psx03 test set name: psx03
directives: directives:
+ pthread_kill + pthread_kill
concepts: concepts:
+ The SIGUSR2 is useful for simple interprocess communication. + The SIGUSR2 is useful for simple interprocess communication.
+ SIGUSR2 is blocked + SIGUSR2 is blocked
+ waiting for a signal for 3 seconds + waiting for a signal for 3 seconds
+ pthread_kill is used send a signal to a thread + pthread_kill is used send a signal to a thread
+ Task 1: The pthread_kill() function sends the signal SIGUSR2 to Init + Task 1: The pthread_kill() function sends the signal SIGUSR2 to Init
+ correctly times out waiting for signal and block + correctly times out waiting for signal and block
+ receives pthread_kill signal + receives pthread_kill signal
+ pthread_kill sends the signal SIGUSR1 to Init + pthread_kill sends the signal SIGUSR1 to Init
+ SIGUSR1 is assigned a signal 16 + SIGUSR1 is assigned a signal 16
+ SIGUSR2 is unblocked + SIGUSR2 is unblocked
+ SIGUSR2 is received and assigned a signal 17 + SIGUSR2 is received and assigned a signal 17

View File

@@ -1,36 +1,36 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# testsuites/psxtests/psx06/psx06.doc # testsuites/psxtests/psx06/psx06.doc
# COPYRIGHT (c) 1989-2009. # COPYRIGHT (c) 1989-2009.
# On-Line Applications Research Corporation (OAR). # On-Line Applications Research Corporation (OAR).
# Copyright (c) 2013 Steven Kou <kou.yongkang@dhs.sg> # Copyright (c) 2013 Steven Kou <kou.yongkang@dhs.sg>
# #
# The license and distribution terms for this file may be # The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at # found in the file LICENSE in this distribution or at
# http://www.rtems.org/license/LICENSE. # http://www.rtems.org/license/LICENSE.
# #
This file describes the directives and concepts tested by this test set. This file describes the directives and concepts tested by this test set.
test set name: psx06 test set name: psx06
directives: directives:
+ pthread_key_create + pthread_key_create
+ pthread_setspecific + pthread_setspecific
+ pthread_getspecific + pthread_getspecific
+ pthread_key_delete + pthread_key_delete
concepts: concepts:
+ gets the ID of the current thread + gets the ID of the current thread
+ creates 2 more threads for the 2 tasks + creates 2 more threads for the 2 tasks
+ creates a key + creates a key
+ attempts to create another key + attempts to create another key
+ attempts to set and get a value for the key + attempts to set and get a value for the key
+ attempts to delete the key + attempts to delete the key
+ sets the value of the key to 0 + sets the value of the key to 0
+ verifies the correct value is set + verifies the correct value is set
+ task 1 sets the key value to 1 and verifies it before exiting + task 1 sets the key value to 1 and verifies it before exiting
+ destructor was invoked 4 times by this stage + destructor was invoked 4 times by this stage
+ task 2 sets the key value to 2 and verifies before exiting + task 2 sets the key value to 2 and verifies before exiting
+ deletes the key + deletes the key
+ destructor was invoked 5 times in total + destructor was invoked 5 times in total

View File

@@ -1,30 +1,30 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# testsuites/psxtests/psx08/psx08.doc # testsuites/psxtests/psx08/psx08.doc
# COPYRIGHT (c) 1989-2009. # COPYRIGHT (c) 1989-2009.
# On-Line Applications Research Corporation (OAR). # On-Line Applications Research Corporation (OAR).
# Copyright (c) 2013 Steven Kou <kouyongkang@gmail.com> # Copyright (c) 2013 Steven Kou <kouyongkang@gmail.com>
# #
# The license and distribution terms for this file may be # The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at # found in the file LICENSE in this distribution or at
# http://www.rtems.org/license/LICENSE. # http://www.rtems.org/license/LICENSE.
# #
This file describes the directives and concepts tested by this test set. This file describes the directives and concepts tested by this test set.
test set name: psx08 test set name: psx08
directives: directives:
+ pthread_detach + pthread_detach
+ pthread_join + pthread_join
+ pthread_create + pthread_create
concepts: concepts:
+ get the thread id + get the thread id
+ detaches self and joins with child for task 1 + detaches self and joins with child for task 1
+ verify the return value of pthread_join and pointer returned + verify the return value of pthread_join and pointer returned
+ creates 2 pthreads and detaches one of them + creates 2 pthreads and detaches one of them
+ task 3 joins with task 2 + task 3 joins with task 2
+ joins both new pthreads to the original thread + joins both new pthreads to the original thread
+ verify the return value and pointer returned of pthread_join after task 2 exits + verify the return value and pointer returned of pthread_join after task 2 exits
+ task 3 exits and returned a value, verifies that the pointer is correct + task 3 exits and returned a value, verifies that the pointer is correct

View File

@@ -1,28 +1,28 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# testsuites/psxtests/psx08/psx08.doc # testsuites/psxtests/psx08/psx08.doc
# COPYRIGHT (c) 1989-2009. # COPYRIGHT (c) 1989-2009.
# On-Line Applications Research Corporation (OAR). # On-Line Applications Research Corporation (OAR).
# Copyright (c) 2013 Steven Kou <kou.yongkang@dhs.sg> # Copyright (c) 2013 Steven Kou <kou.yongkang@dhs.sg>
# #
# The license and distribution terms for this file may be # The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at # found in the file LICENSE in this distribution or at
# http://www.rtems.org/license/LICENSE. # http://www.rtems.org/license/LICENSE.
# #
This file describes the directives and concepts tested by this test set. This file describes the directives and concepts tested by this test set.
test set name: psx09 test set name: psx09
directives: directives:
+ pthread_getschedparam + pthread_getschedparam
+ pthread_setschedparam + pthread_setschedparam
+ pthread_mutex_lock + pthread_mutex_lock
concepts: concepts:
+ get the priority of the current thread + get the priority of the current thread
+ adjusts the priority of the thread 5 times between high and medium priority + adjusts the priority of the thread 5 times between high and medium priority
+ creates a mutex with priority ceiling and locks it to the thread + creates a mutex with priority ceiling and locks it to the thread
+ thread priority no longer gets adjusted after obtaining mutex + thread priority no longer gets adjusted after obtaining mutex
+ thread priority gets locked at the ceiling level + thread priority gets locked at the ceiling level
+ unlocks mutex and thread priority is set to low priority successfully + unlocks mutex and thread priority is set to low priority successfully
+ lock returns proper status if deleted during lock operation + lock returns proper status if deleted during lock operation

View File

@@ -1,20 +1,20 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# testsuites/psxtests/psxcleanup/psxcleanup.doc # testsuites/psxtests/psxcleanup/psxcleanup.doc
# Copyright (c) 2013 Anukul Sangwan <email.anukul@gmail.com>. # Copyright (c) 2013 Anukul Sangwan <email.anukul@gmail.com>.
# #
# The license and distribution terms for this file may be # The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at # found in the file LICENSE in this distribution or at
# http://www.rtems.org/license/LICENSE. # http://www.rtems.org/license/LICENSE.
# #
This file describes the directives and concepts tested by this test set. This file describes the directives and concepts tested by this test set.
test set name: psxcleanup test set name: psxcleanup
directives: directives:
+ read + read
+ write + write
concepts: concepts:
+ Run the test in read mode, and lock in write mode post cleanup. + Run the test in read mode, and lock in write mode post cleanup.

View File

@@ -1,26 +1,26 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# testsuites/psxtests/psxtime/psxtime.doc # testsuites/psxtests/psxtime/psxtime.doc
# Copyright (c) 2013 Shaily Sangwan <shailysangwan@gmail.com>. # Copyright (c) 2013 Shaily Sangwan <shailysangwan@gmail.com>.
# #
# The license and distribution terms for this file may be # The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at # found in the file LICENSE in this distribution or at
# http://www.rtems.org/license/LICENSE. # http://www.rtems.org/license/LICENSE.
# #
This file describes the directives and concepts tested by this test set. This file describes the directives and concepts tested by this test set.
test set name: psxtime test set name: psxtime
directives: directives:
+ gettimeofday + gettimeofday
+ rtems_clock_set + rtems_clock_set
+ rtems_clock_get_tod + rtems_clock_get_tod
+ time + time
+ localtime + localtime
+ gmtime + gmtime
concepts: concepts:
+ Tests the getting and setting of POSIX timing routines, runs the directives on various time instances and adjusts the time delay + Tests the getting and setting of POSIX timing routines, runs the directives on various time instances and adjusts the time delay