|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0974 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 0974.
Report 0974 Actions
Problem Report Number 0974 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0489 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-08-04 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.4 Test Identification POSIX.cmd/printf 12, 28 Problem Summary TSD4C.00020 Tests fail on implementations where od output is formatted Problem Text
These tests compare 2 integers using the string comparison [ "$1" = $i ].
"$1" results from "od -A n -t d1", "$1" results from i=$(( $i + 1 )).
Both representations must to be of identical in format, otherwise
"$1" and $i will not compare equal.
In our implementation "od -A n -t d1" results in an 3-digit integer,
for example 000, while $i + 1 is a simple number, for example 0.
So these tests fails on our implementation.Test Output
400|1 12 1 11:09:36|IC Start
200|1 1 11:09:36|TP Start
520|1 1 10197 1 1|Assertion #12 (A):
520|1 1 10197 1 1|got '' for value 000
520|1 1 10197 1 2|got '001' for value 001
520|1 1 10197 1 3|got '002' for value 002
520|1 1 10197 1 4|got '003' for value 003
520|1 1 10197 1 5|got '004' for value 004
520|1 1 10197 1 6|got '005' for value 005
520|1 1 10197 1 7|got '006' for value 006
520|1 1 10197 1 8|got '007' for value 007
520|1 1 10197 1 9|got '008' for value 010
520|1 1 10197 1 10|got '009' for value 011
520|1 1 10197 1 11|got '010' for value 012
....
520|1 1 10197 1 94|got '093' for value 135
520|1 1 10197 1 95|got '094' for value 136
520|1 1 10197 1 96|got '095' for value 137
520|1 1 10197 1 97|got '096' for value 140
520|1 1 10197 1 98|got '097' for value 141
520|1 1 10197 1 99|got '098' for value 142
520|1 1 10197 1 100|got '099' for value 143
220|1 1 1 11:10:31|FAIL
5|4 1.10 1|TCM Start
400|4 28 1 11:10:42|IC Start
200|4 1 11:10:42|TP Start
520|4 1 11556 1 1|Assertion #28 (A):
520|4 1 11556 1 1|got '' for value 0000
520|4 1 11556 1 2|got '001' for value 0001
520|4 1 11556 1 3|got '002' for value 0002
520|4 1 11556 1 4|got '003' for value 0003
520|4 1 11556 1 5|got '004' for value 0004
520|4 1 11556 1 6|got '005' for value 0005
520|4 1 11556 1 7|got '006' for value 0006
520|4 1 11556 1 8|got '007' for value 0007
520|4 1 11556 1 9|got '008' for value 0010
520|4 1 11556 1 10|got '009' for value 0011
...
520|4 1 11556 1 91|got '090' for value 0132
520|4 1 11556 1 92|got '091' for value 0133
520|4 1 11556 1 93|got '092' for value 0134
520|4 1 11556 1 94|got '093' for value 0135
520|4 1 11556 1 95|got '094' for value 0136
520|4 1 11556 1 96|got '095' for value 0137
520|4 1 11556 1 97|got '096' for value 0140
520|4 1 11556 1 98|got '097' for value 0141
520|4 1 11556 1 99|got '098' for value 0142
520|4 1 11556 1 100|got '099' for value 0143
220|4 1 1 11:11:33|FAILReview 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 0974
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority