Report 0024 Actions
Problem Report Number |
0024 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.PX.0011 |
Raised |
2004-07-14 02:47 |
Updated |
2004-07-15 14:10 |
Published |
2004-07-15 14:10 |
Product Standard |
1003.1-2003 System Interfaces |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSX-PCTS2003 version 1.0B |
Test Identification |
/tset/C99.os/streamio/vscanf/T.vfscanf 6
/tset/C99.os/streamio/vscanf/T.vscanf 6
/tset/C99.os/streamio/vscanf/T.vsscanf 6 |
Problem Summary |
vscanf tests use %C, defined only in XSI mode |
Problem Text |
The vscanf test uses an non-POSIX format specifier, causing the output
not to match |
Test Output |
***********************************************************************
*
/tset/C99.os/streamio/vscanf/T.vfscanf 6 Failed
Test Description:
When format contains white space characters (blanks, tabs, new-lines,
or form-feeds) and the next conversion character is none of c, C or [,
then input is read up to the next non-white-space character.
The conversion character C is not tested in POSIX modes.
Test Strategy:
CREATE child process
CREATE file of test data and freopen() it on stdin
PERFORM format conversion using vfscanf()
VERIFY that white space is skipped unless the conversion character
is c, [
CREATE file of test data and freopen() it on stdin
CHANGE to wide character locale using setlocale()
PERFORM format conversion using vfscanf()
VERIFY that white space is skipped unless the conversion character
is C or [
Test Information:
vfscanf(t_fp, "%d%d%C%[^1]") failed
Input data: 10\\n\\t\\f 11\\n\\t\\f 1
Expected result: 10, 11, \n, "\t\f "
Observed result: 10, 11, \000, ""
***********************************************************************
***********************************************************************
/tset/C99.os/streamio/vscanf/T.vscanf 6 Failed
Test Description:
When format contains white space characters (blanks, tabs, new-lines,
or form-feeds) and the next conversion character is none of c, C or [,
then input is read up to the next non-white-space character.
The conversion character C is not tested in POSIX modes.
Test Strategy:
CREATE child process
CREATE file of test data and freopen() it on stdin
PERFORM format conversion using vscanf()
VERIFY that white space is skipped unless the conversion character
is c, [
CREATE file of test data and freopen() it on stdin
CHANGE to wide character locale using setlocale()
PERFORM format conversion using vscanf()
VERIFY that white space is skipped unless the conversion character
is C or [
Test Information:
vscanf("%d%d%C%[^1]") failed
Input data: 10\\n\\t\\f 11\\n\\t\\f 1
Expected result: 10, 11, \n, "\t\f "
Observed result: 10, 11, \000, ""
***********************************************************************
***********************************************************************
/tset/C99.os/streamio/vscanf/T.vsscanf 6 Failed
Test Description:
When format contains white space characters (blanks, tabs, new-lines,
or form-feeds) and the next conversion character is none of c, C or [,
then input is read up to the next non-white-space character.
The conversion character C is not tested in POSIX modes.
Test Strategy:
CREATE child process
CREATE file of test data and freopen() it on stdin
PERFORM format conversion using vsscanf()
VERIFY that white space is skipped unless the conversion character
is c, [
CREATE file of test data and freopen() it on stdin
CHANGE to wide character locale using setlocale()
PERFORM format conversion using vsscanf()
VERIFY that white space is skipped unless the conversion character
is C or [
Test Information:
vsscanf(data, "%d%d%C%[^1]") failed
Input data: 10\\n\\t\\f 11\\n\\t\\f 1
Expected result: 10, 11, \n, "\t\f "
Observed result: 10, 11, \000, ""
*********************************************************************** |
Review Information
Review Type |
TSMA Review |
Start Date |
2004-07-14 02:47 |
Last Updated |
2004-07-14 18:17 |
Completed |
2004-07-14 18:17 |
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 |
2004-07-14 17:17 |
Last Updated |
2004-07-15 00:54 |
Completed |
2004-07-15 00:54 |
Status |
Complete |
Review Resolution |
Test Suite Deficiency (TSD) |
Review Conclusion |
This PR represents an agreed test suite deficiency. |
Problem Reporting System Options:
|