|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1965 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 1965.
Report 1965 Actions
Problem Report Number 1965 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0992 Raised 1997-04-10 08:00 Updated 2003-03-13 08:00 Published 1997-04-16 08:00 Product Standard Transport Service XTI Certification Program The Open Brand certification program Test Suite VST version 4.1.4 Test Identification /tset/XTI.os/clts/sndudata/T.sndudata 9 Problem Summary TSDT4.030 For test case T.sndudata 9, the VST test suite attempts to verify that a call to t_sndudata() with an incorrect protocol address either returns -1 with t_errno set to TBADADDR or returns 0 with the su... Problem Text
For test case T.sndudata 9, the VST test suite attempts to verify that
a call to t_sndudata() with an incorrect protocol address either returns
-1 with t_errno set to TBADADDR or returns 0 with the subsequent occurrence
of a T_UDERR event. In the latter, the test suite calls t_look() after
the call to t_sndudata().
This does not produce the expected behaviour on our implementation as
insufficient time is allowed for the T_UDERR event to occur.
By introducing a call to sleep(1) between the calls to t_sndudata() and
t_look(), the test passes. If the test case was changed to use waitevent(),
our implementation will pass.
We request that a TSD be accorded to waive this test result.
The test report is as follows :
------------------------------------------------------------------
/tset/XTI.os/clts/sndudata/T.sndudata 9 Failed
Test Description:
If the implementation supports a connectionless transport
service:
When the specified protocol protocol address is in an
incorrect
format or contains illegal information, then t_sndudata()
either
a. returns (int)-1 and sets t_errno to TBADADDR; or
b. returns (int)0 and a T_UDERR event occurs.
The state of the transport endpoint remains unchanged.
Test Strategy:
VERIFY that the transport service is of type T_CLTS
OBTAIN an endpoint in T_IDLE state using provsetup()
INITIALISE send buffer with some data
INITIALISE the protocol address buffer with incorrectly
formatted data
ATTEMPT to send a data unit to slave using t_sndudata()
VERIFY that the return value, endpoint state and t_errno are as
expected
INITIALISE the protocol address buffer with illegal data
ATTEMPT to send a data unit to slave using t_sndudata()
IF t_sndudata() returns 0
VERIFY that a T_UDERR event has occured using t_look()
VERIFY that the endpoint state is as expected
ELSE
VERIFY that the return value, endpoint state and t_errno are
as
expected
Test Information:
For UDP endpoint
EVENT VALUES: expected: 64 (T_UDERR), observed: 0 (NO EVENT)
-------------------------------------------------------------------Test Output
10|2 /tset/XTI.os/clts/sndudata/T.sndudata 14:49:33|TC Start, scenario ref 6-1
15|2 2.3 12|TCM Start
.
.
.
400|2 9 1 14:49:39|IC Start
200|2 9 14:49:39|TP Start
520|2 9 00016614 1 1|For UDP endpoint
520|2 9 00016614 1 2|EVENT VALUES: expected: 64 (T_UDERR), observed: 0 (NO EVENT
)
220|2 9 1 14:49:39|FAIL
410|2 9 1 14:49:39|IC End
.
.
.Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
Despite this fault already being covered by waiver TSDT4.022, it is agreed
that this is a test suite deficiency which is fully described by the above
rationale.
It is recommended that a waiver is granted on the grounds of a 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 1965
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority