|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2026 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 2026.
Report 2026 Actions
Problem Report Number 2026 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0599 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSTH version 5.1.2 Test Identification /vrpt Problem Summary PG5TH.00007 There are several problems with vrpt the report generator. The actual number of PTHR.hdr testcases is listed as 368 instead of 365 that vrpt expects. Looking at the journal file it looks like 368 is t... Problem Text
There are several problems with vrpt the report generator. The actual
number of PTHR.hdr testcases is listed as 368 instead of 365 that vrpt
expects. Looking at the journal file it looks like 368 is the the
correct number. The numbers for PTHR.os are incorrect also. T.Documentation
and T.General do not have macro tests, so the numbers for PTHR.os F and
PTHR.os M cannot be the same. Looking at the journal file it appears
the correct numbers are 15 assertions for Documentation and General,
554 assertions for functional and 554 assertions for macros. Thus it
looks the expected numbers should the following:
Section | Expect
____________|______________
|
PTHR.hdr | 368
PTHR.os F | 569
PTHR.os M | 554
TOTAL | 1491
____________|_____________
In addition vrpt has a problem extracting the assertion abstracts from
the DOC files. For example:
Posix Ref: Component PTHREAD_MUTEXATTR_GETPROTOCOL Assertion
9945-1:1996 2.7.3-52(C)/r%^PError: format error in archive /tsui
tes/VSTH/vsth/MAN/tset/PTHR.hdr/misc/pthread_2/L.pthread_2_t,
could not extract fileTest Output
Section | Expect Actual
____________|______________
|
PTHR.hdr | 365 368
PTHR.os F | 564 555
PTHR.os M | 564 550
TOTAL | 1493 1473
____________|_____________Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree with the applicant that there is an anomoly in the number
of expected tests. This will be corrected in a forthcoming patch
to VSTH.
We suspect the problem is that the lines in the L.testset_[ts] files
where the problems occur are longer than 80 bytes, as this is the size
of the buffer used in SRC/common/vlib/arc_extr.c. The code will happily
read past the end of the buffer if any lines are too long.
As an official authorized workaround either of the following changes
can be made to the VSXgen code.
To make it handle longer lines, increase the #define LINELEN in arc_extr.c
line 97 .
Or, to make it cope properly with lines too long for the buffer, change
the following line in the print_file() function (line 521):
if ((ret = fgets(buf, (int)fsize+1, arc_fp)) == (char *)NULL)
to:
if ((ret = fgets(buf, LINELEN+1, arc_fp)) == (char *)NULL)
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 2026
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority