|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1163 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1163.
Report 1163 Actions
Problem Report Number 1163 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0365 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification CAPIbase/fselect 13 Problem Summary PG4U.00103 This IR claims the test may fail with EPERM errors if the implementation does not support physical tty ports. Problem Text
This is the failing for the same reason as tty tests for pol#25
and readv#22 in req.4.U.00293
Note that the STREAMS failure is already covered by PIN4U.00032Test Output
TEST PURPOSE #13
A call to int select(int nfds, fd_set *readfds, fd_set
*writefds, fd_set *exceptfds, const struct timeval
*timeout) shall support regular files, terminals,
pseudo-terminal devices, STREAMS-based files, sockets,
FIFOS and pipes.
TEST: AF_INET SOCK_STREAM
PREP: Create test sockaddr_in: address = 129.40.217.6, port = 4705
PREP: Server: create socket
PREP: Server: bind address 129.40.217.6, port 4705 to socket
PREP: Server: listen on socket
PREP: Server: notify client server is ready
PREP: Server: accept connection
INFO: Server: accepted connection from address 129.40.217.6, port 1881
PREP: echo_server: read and echo data
INFO: Server received signal 15
INFO: Server terminated
PREP: Wait for server to be ready
PREP: Create a socket
PREP: Connect socket to address 129.40.217.6, port 4705
TEST: select supports sockets
CLEANUP: Close socket, kill server
TEST: AF_UNIX SOCK_STREAM
PREP: Create test sockaddr_un: path = ../tmp/unix.HfbBxQ
PREP: Server: create socket
PREP: Server: bind address ../tmp/unix.HfbBxQ to socket
PREP: Server: listen on socket
PREP: Server: notify client ready to accept
PREP: Server: accept connection
INFO: Server: accepted connection from address
PREP: echo_server: read and echo data
INFO: Server received signal 15
INFO: Server terminated
PREP: Wait for server to be ready
PREP: Create a socket
PREP: Connect to address ../tmp/unix.HfbBxQ
TEST: select supports AF_UNIX sockets
CLEANUP: Close socket, kill server
TEST: AF_INET SOCK_DGRAM
PREP: Create test sockaddr_in: address = 129.40.217.6, port = 4706
PREP: Wait for server to be ready
PREP: Create a socket
PREP: Connect socket to address 129.40.217.6, port 4706
TEST: select supports sockets
CLEANUP: Close socket, kill server
TEST: AF_UNIX SOCK_DGRAM
PREP: Create test sockaddr_un: path = ../tmp/unix.fAGgxQ
PREP: Server: create socket
PREP: Server: bind address 129.40.217.6, port 4706 to socket
PREP: Server: notify client server is ready
PREP: Server: read and echo data
INFO: Server received signal 15
INFO: Server terminated
PREP: Wait for server to be ready
PREP: Create a socket
PREP: Connect to address ../tmp/unix.fAGgxQ
TEST: select supports AF_UNIX sockets
CLEANUP: Close socket, kill server
PREP: Create pipe
TEST: select supports pipes
CLEANUP: Close pipe
PREP: Create fifo
TEST: select supports fifos
CLEANUP: Remove fifo
PREP: Open loopback ttys
ERROR: open failed, errno = 139(EPERM - Not owner)
PREP: Open pseudo ttys
TEST: select supports pseudo terminals
CLEANUP: Close pseudo terminal
PREP: Create file
TEST: select supports regular files
CLEANUP: Close file
PREP: Create a pipe
PREP: Determine if pipe is a stream
INFO: Pipes are not STREAMs on this implementation
PREP: Open master pseudo tty
PREP: Determine if pseudo tty is a stream
ERROR: Neither pipes nor pseudo terminals are STREAMS
based on this implementation. The sample code
in $TET_ROOT/CAPI/SRC/LIB/capi_user/sreflect.c
must be modified to provide routines with the
equivalent functionality and interfaces for the
implementation.
PREP: Server: create socket
PREP: Server: bind address ../tmp/unix.fAGgxQ to socket
PREP: Server: notify client server is ready
PREP: Server: read and echo data
INFO: Server received signal 15
INFO: Server terminated
13 UNRESOLVEDReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
We agree that the spec does not require an implementation to
support physical terminal ports. But, we believe the output
above does not match the output one would expect from such
an implementation.
The EPERM errors indicate that a specified device was present but that
there was insufficient privilege to open that device.
We believe this is probably a configuration error. If no physical
ports exist for an implementation then VSU_TERMIOS_TTY and
VSU_TERMIOS_LOOP should be undefined.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1163
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority