|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0079 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 0079.
Report 0079 Actions
Problem Report Number 0079 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0079 Raised 1993-06-23 08:00 Updated 2003-03-13 08:00 Published 1993-06-29 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.4 Test Identification XPG4.os/time/strptime 5 Problem Summary TSD4.079 This test fails due to a problem with the test code. The problem relates to the whitespace characters defined in the buf argument passed to strptime. In each case the source code has the whitespace ch... Problem Text
This test fails due to a problem with the test code.
The problem relates to the whitespace characters defined in the buf
argument passed to strptime. In each case the source code
has the whitespace character as 0x20 (ASCII Space), whereas the
whitespace character should be the same value as that defined
for the vsx pseudolanguage.
Test 3 also has this problem.Test Output
************************************************************************
/tset/XPG4.os/time/strptime/T.strptime 5 Failed
Test Description:
If strptime() is supported:
When format is a string containing the following field descriptors
:
a. a or A abbreviated or full weekday name - eg. Sun to Sat or
Sunday to Saturday
b. b, B or h abbreviated or full month name - eg. Jan to Dec or
January to December
c. c appropriate date and time as specified in the D_T_FMT string
d. p AM/PM string as specified in the AM_STR/PM_STR
e. x appropriate date as specified in the D_FMT string
f. X appropriate time as specified in the T_FMT string
then a call to strptime() reads characters from string and, in the
case that these characters match the format of the directive,
translates these characters into the appropriate member of the tm
structure.
Otherwise:
A call to strptime() returns NULL and sets errno to ENOSYS.
Test Strategy:
PARENT process will
CREATE child process using cppair()
CHILD process will
SET the locale for LC_TIME to VSX4L1
FOR each day format
FOR each full weekday name
GET the relevant string using pslanginfo()
INITIALISE the tm structures
VERIFY that strptime() performs as expected
FOR each abbreviated weekday name
GET the relevant string using pslanginfo()
INITIALISE the tm structures
VERIFY that strptime() performs as expected
FOR each month format
FOR each full month name
GET the relevant string using pslanginfo()
INITIALISE the tm structures
VERIFY that strptime() performs as expected
FOR each abbreviated month name
GET the relevant string using pslanginfo()
INITIALISE the tm structures
VERIFY that strptime() performs as expected
FOR format strings D_T_FMT, AM_STR, D_FMT, and T_FMT:
INITIALISE the tm structures
VERIFY that strptime() performs as expected
REPEAT everything contained above in this test for the locale
VSX4L2
Test Information:
appropriate date and time as specified in D_T_FMT string
strptime("6\05642\05621\040NM\04009\05705\05791", "%c", &testbuf)
failed.
Current language is VSX4L1
return value was NULL
AM string as specified in AM_STR
strptime("6\040VM", "%H %p", &testbuf) failed.
Current language is VSX4L1
return value was NULL
appropriate time as specified in T_FMT string
strptime("6\05642\05621\040NM", "%X", &testbuf) failed.
Current language is VSX4L1
return value was NULL
appropriate date and time as specified in D_T_FMT string
strptime("5\0409\0401991\0406'42'21", "%c", &testbuf) failed.
Current language is VSX4L2
return value was NULL
PM string as specified in AM_STR
strptime("6\040pm", "%H %p", &testbuf) failed.
Current language is VSX4L2
return value was NULL
appropriate date as specified in D_FMT string
strptime("05\04009\0401991", "%x", &testbuf) failed.
Current language is VSX4L2
return value was NULL
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is agreed to be a test suite fault and a test suite deficiency waiver
is recommended.
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 0079
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority