|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0229 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 0229.
Report 0229 Actions
Problem Report Number 0229 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0229 Raised 1995-08-22 08:00 Updated 2003-03-13 08:00 Published 1995-09-03 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.5 Test Identification ANSI.os/string/ Problem Summary TSD4.229 The implementation of this test is not correct when running on systems using EBCDIC-Code. The result of strcmp() using the test strings depends on setting of bit 0200 in the characters. In EBCDIC this... Problem Text
The implementation of this test is not correct when running on
systems using EBCDIC-Code. The result of strcmp() using the test
strings depends on setting of bit 0200 in the characters. In
EBCDIC this bit is always set for alphanumerical characters. So we
get a "Failed" result.
The same aplies for the following Tests:
ANSI.os/string/strcat 1
ANSI.os/string/strchr 2
ANSI.os/string/strcmp 1,3
ANSI.os/string/strcspn 1
ANSI.os/string/strncat 1
ANSI.os/string/strncmp 1,3
ANSI.os/string/strpbrk 1,2
ANSI.os/string/strrchr 2
ANSI.os/string/strspn 1
ANSI.os/string/strstr 1,2
ANSI.os/string/strtok 1,2Test Output
/tset/ANSI.os/string/strcmp/T.strcmp 1 Failed
Test Description:
strcmp() returns an integer less than zero if the difference between
the first pair of differing characters (interpreted as unsigned char)
in s1 and s2 is less than zero.
Posix Ref: Component STRCMP Assertion 8.1-04(A)
Test Strategy:
VERIFY negative return when first string has byte value > second
string. Either string can contain 8 bit characters.
Test Information:
strcmp did not return expected value
value of first argument : abcdefghi\212\213\214\215\216999
value of second argument : abcdefghi\212\213\214\215\216000
expected return value : < 0
actual return value : 1Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a fault in the test suite and it is recommended that a
waiver is granted for this Test Suite Deficiency.
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 0229
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority