|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2723 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 2723.
Report 2723 Actions
Problem Report Number 2723 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1422 Raised 2020-08-05 07:50 Updated 2020-08-05 12:30 Published 2020-08-05 12:30 Product Standard Commands and Utilities V4 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSC version 5.2.18NW Test Identification tset/POSIX.annexA/lex/lex.ex{98} Specification Shell and Utilities Issue 6 Location in Spec ISO/IEC 9899:1999 Sections 7.1.2 and 7.1.4. Linked Problem Reports 2720, 2721, 2722 Problem Summary In tset/POSIX.annexA/lex/lex.ex{98} a declaration of main() is required by c99. Problem Text In tset/POSIX.annexA/lex/lex.ex{98} a file named lex_in_98_1 is created that includes this code:
int yywrap() {
static char *argv[] = { "lexprog", 0 };
static int first = 1;
if (first)
{
first = 0;
main(1, argv);
printf("This should not be printed\n"); return(1);
} else
return(1);
}
Our compiler properly complains about the lack of a declaration for main() and fails to compile the
generated C program.Test Output 200|5 98 15:06:03|TP Start
520|5 98 70057 1 1|Assertion #98 (C): Test behavior of lex library supplied main() routine 520|5 98
70057 4 1|Command failed: 'c99 -o lexprog lex.yy.c -l l >/dev/null 2>&1'
220|5 98 2 15:06:03|UNRESOLVEDReview Information
Review Type TSMA Review Start Date 2020-08-05 07:50 Last Updated 2020-08-05 12:09 Completed 2020-08-05 12:09 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2020-08-05 20:09 Last Updated 2020-08-05 12:30 Completed 2020-08-05 12:30 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted
Problem Reporting System Options:
- View Report 2723
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority