Files
rtems/testsuites/psxtests/psxdevctl01/psxdevctl01.doc
Joel Sherrill 5e7b3c6533 posix_devctl - Add support for SOCKCLOSE
The FACE Technical Standard, Edition 3.0 and later require the definition
of the subcommand SOCKCLOSE in <devctl.h>.

Reference: ​https://www.opengroup.org/face

closes #3856.
2020-01-17 16:13:35 -06:00

30 lines
852 B
Plaintext

# COPYRIGHT (c) 2016.
# On-Line Applications Research Corporation (OAR).
#
# 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: psxdevctl01
directives:
posix_devctl
concepts:
+ Ensure that proper error values result when passing different combinations of
arguments to posix_devctl().
+ Ensure that a request is passed through the underlying ioctl() operation
to the console device driver and flagged as an error.
+ Ensure that the SOCKCLOSE subcommand is supported by posix_devctl()
and returns an error on invalid file descriptors.
+ Ensure that the SOCKCLOSE subcommand is supported by posix_devctl()
and will close a file descriptor.