|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1437 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 1437.
Report 1437 Actions
Problem Report Number 1437 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0719 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-01-02 08:00 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 base/fcntl 1 3 Problem Summary TSD4U.00096 This test may fail on all implementations because getpid() instead of getpgid() is being called. Problem Text
This test may fail on all implementations because getpid() instead of
getpgid() is being called.
When using negative numbers as the arg argument to fcntl, the
man page says it refers to a process group ID, but the test is using the
GID (i.e. getgid instead of getpgrp). (see pp 115 fcntl of XNI4).
This was accepted as VSU SR 396.
Test Output
520|1 1 1089 1 1|SPEC1170TESTSUITE CASE 1
520|1 1 1089 1 2|A successful call to int fcntl(int fildes, F_GETOWN,
520|1 1 1089 1 3|int arg) when fildes refers to a socket shall return
520|1 1 1089 1 4|the process ID or process group ID specified to
520|1 1 1089 1 5|receive SIGURG signals when out-of-band data is
520|1 1 1089 1 6|available where positive values indicate a process ID
520|1 1 1089 1 7|and negative values other than -1 indicate a process
520|1 1 1089 1 8|group ID.
520|1 1 1090 1 1|TEST: AF_INET SOCK_STREAM
520|1 1 1090 1 2|PREP: Create socket
520|1 1 1090 1 3|PREP: Set process id to receive SIGURG signals
520|1 1 1090 1 4|TEST: fcntl(sock, F_GETOWN, ...) returns receiving process ID
520|1 1 1090 1 5|PREP: Set group id to receive SIGURG signals
520|1 1 1090 1 6|ERROR: fcntl failed, errno = 22(EINVAL - Invalid argument)
220|1 1 2 13:56:28|UNRESOLVED
410|1 1 1 13:56:28|IC End
200|4 1 13:56:33|TP Start
520|4 1 1111 1 1|SPEC1170TESTSUITE CASE 3
520|4 1 1111 1 2|A successful call to int fcntl(int fildes, F_SETOWN,
520|4 1 1111 1 3|int arg) when fildes refers to a socket and arg is
520|4 1 1111 1 4|negative shall set the process group ID specified to
520|4 1 1111 1 5|receive SIGURG signals when out-of-band data is
520|4 1 1111 1 6|available for that socket to arg and return a value
520|4 1 1111 1 7|other than -1.
520|4 1 1112 1 1|TEST: AF_INET SOCK_STREAM
520|4 1 1112 1 2|PREP: Create socket
520|4 1 1112 1 3|TEST: fcntl(..., FSETOWN, -gid) returns other than -1
520|4 1 1112 1 4|ERROR: fcntl failed, errno = 22(EINVAL - Invalid argument)
220|4 1 1 13:56:34|FAIL
410|4 3 1 13:56:34|IC End
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1437
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority