|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1482 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 1482.
Report 1482 Actions
Problem Report Number 1482 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0764 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-10-31 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification base/putpmsg 28 30 Problem Summary TSD4U.00049 The test may fail on implementations because data.len is less than or equal to max_size. Problem Text
The test may fail on implementations because data.len is less
than or equal to max_size.
According to 65X/Open CAE Specification (1994) (Draft September 22, 1994)
System Interfaces and Headers Issue 4, Version 2, page 651,
[ERANGE] The size of the data part of the
message does not fall within the
range specified by the maximum and
minimum packet sizes of the topmost
STREAM module. This value is also
returned if the control part of the
message is larger than the maximum
configured size of the control part
of a message, or if the data part of
a message is larger than the maximum
configured size of the data part of
a message.
"data.len" needs to be set more than "max_size" (e.g. "max_size + 1")
instead of "max_size".
Test Output
/tset/CAPIbase/fputpmsg/fputpmsg28
TEST PURPOSE #28
ERANGE in errno and return -1 on a call to int
putpmsg(int fildes, const struct strbuf *ctlptr, const
struct strbuf *dataptr, int band, int flags) when the
size of the data part of the message does not fall
within the range specified by the maximum and minimum
packet sizes of the topmost stream module.
PREP: Read VSU_STREAMS_MAX_DATA_SIZE configuration
PREP: Allocate big enough buffer
PREP: Create a pipe
PREP: Determine if pipe is a stream
TEST: putpmsg returns -1
ERROR: putpmsg returned 0
28 FAIL
/tset/CAPIbase/fputpmsg/fputpmsg30
TEST PURPOSE #30
ERANGE in errno and return -1 on a call to int
putpmsg(int fildes, const struct strbuf *ctlptr, const
struct strbuf *dataptr, int band, int flags) when the
size of the data part of the message is greater than
the maximum configured size of the data part of a
message.
PREP: Read VSU_STREAMS_MAX_DATA_SIZE configuration
PREP: Allocate big enough buffer
PREP: Create a pipe
PREP: Determine if pipe is a stream
TEST: putpmsg returns -1
ERROR: putpmsg returned 0
30 FAIL
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 1482
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority