|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0831 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 0831.
Report 0831 Actions
Problem Report Number 0831 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0346 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-02-12 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.5 Test Identification POSIX.cmd/printf 28 Problem Summary TSD4C.00165 This test may fail on implementations that treat pipelines as subshell environments. Problem Text
This test may fail on implementations that treat pipelines as subshell
environments.
Test assertion #28 uses the following to initialize the $letters
variable:
echo S | od -b -N 1 | read junk letters
$letters is then used to set up and test part 8 of this test case:
var8=`printf %b "\0$letters"`
.
.
[ "$var8" = "S" }
On our implementation this will not work because letters never gets
initialized by the pipeline commands. See section 2.12 of X/Open
Commands and Utilities Issue 4, Version 2:
"Some systems have implemented the last stage of a pipeline in the
current environment so that commands such as:
command | read foo
set variable foo in the current environment. This extension is allowed,
but not required; therefore, a shell programmer should consider a
pipeline to be in a subshell environment, but not depend on it."
Test Output
18:10:38|IC Start
18:10:38|TP Start
9375 1 1|Assertion #28 (A):
375 1 11|Command failed: '[ "" = "S" ]'
18:12:48|FAIL
18:12:48|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 0831
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority