|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0640 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 0640.
Report 0640 Actions
Problem Report Number 0640 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0244 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.4 Test Identification vsc/tset/POSIX.upe/fc/fc.sh 14,16,17 Problem Summary PG4C.00032 Test fails because of syntax error in awk script. Problem Text
The following block of code creates the an awk script for tp14()
cat > fc_awk_14 << \EOF
/---end14---/ { print_on = 1 }
{ if (print_on) print \$0 }
/---start14---/ { print_on = 0 }
EOF
When the awk script is run it exits with the following error
Syntax error at source line 2
Context is { if (print_on) print >>> \ <<< $0 }
The problem is that because of the back-slashed "\EOF", the shell
considers this a quoted here-document and correctly does not
expand the script. The \ is not needed.
This can be corrected by either removing the back-slash before
the first EOF or removing the back-slash before the $0
This problem is also present in test purposes tp16() and tp17()Test Output
Review 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.
Although this is a deficiency in the test suite that will be
addressed, it does not result in any waiverable failures.
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 0640
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority