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

View File

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

View File

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

View File

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

View File

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