|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1835 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 1835.
Report 1835 Actions
Problem Report Number 1835 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0912 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1993-10-15 08:00 Product Standard X Window System Applications Interface Certification Program The Open Brand certification program Test Suite VSW version 4.1.1 Test Identification XPROTO/chnghsts 1 Problem Summary TSD4W.00100 Test fails because it is not sending correct request. Problem Text
The routine tester() inside the file tset/XPROTO/chnghsts/chnghsts.m
sends an incomplete request to remove an host from the
access control list.
In particular, it doesn't fill the field hostFamily in the request
message sent to the server.
The fail happens because the test suite, when trying to delete an host
belonging to the Uname family, doesn't fill properly the field
hostFamily, and the server receives a 0, which means Internet family.
The server returns BadValue because the name is longer than four bytes.
We believe that the following code:
==============================================================
/* Delete/Insert host from/to access control list */
Set_Test_Type(CLIENT, test_type);
req = (xChangeHostsReq *) Make_Req(CLIENT, X_ChangeHosts);
debug(3,"length of req = %d, req at 0x%lx\n",req->length,(unsigned long)req);
if ((req->mode = mode) == HostDelete) {
hp = (unsigned char *) ((unsigned char *) hosts_rep + sizeof (xListHostsReply));
req = (xChangeHostsReq *)
Add_Counted_Bytes (req, hp + 4, * (unsigned short *) (hp + 2));
} else {
req = (xChangeHostsReq *)
Add_Counted_Bytes (req, host->address, host->length);
req->hostFamily = host->family;
}
==============================================================
should be modified as follows:
==============================================================
/* Delete/Insert host from/to access control list */
Set_Test_Type(CLIENT, test_type);
req = (xChangeHostsReq *) Make_Req(CLIENT, X_ChangeHosts);
debug(3,"length of req = %d, req at 0x%lx\n",req->length,(unsigned long)req);
if ((req->mode = mode) == HostDelete) {
hp = (unsigned char *) ((unsigned char *) hosts_rep + sizeof (xListHostsReply));
req = (xChangeHostsReq *)
Add_Counted_Bytes (req, hp + 4, * (unsigned short *) (hp + 2));
req->hostFamily=(* (unsigned char *) (hp));
} else {
req = (xChangeHostsReq *)
Add_Counted_Bytes (req, host->address, host->length);
req->hostFamily = host->family;
}
==============================================================Test Output
Test-Set Name: /tset/XPROTO/chnghsts/chnghsts
---------------------------------------------
Test-Set Results:
----------------
Test-Set Started: 01:44:56
Test Results:
************************************************************************
/tset/XPROTO/chnghsts/chnghsts 1 Failed
Test Description:
Test Agency: Olivetti System Tested: i486-5015-EVC
Test Date: Apr 21, 1990 Page 327 of 412
X/OPEN Window Management Verification Suite Release 4.1.1
Test-Set Summary Test-Set Summary
When a client sends a valid ChangeHosts protocol request to
the X server, then the X server does not send back an error,
event or reply to the client.
Test Strategy:
Call library function testfunc() to do the following:
Open a connection to the X server using native byte sex.
Send a valid ChangeHosts protocol request to the X server.
Verify that the X server does not send back an error, event or reply.
Open a connection to the X server using reversed byte sex.
Send a valid ChangeHosts protocol request to the X server.
Verify that the X server does not send back an error, event or reply.
Test Information:
Expect: wanted NOTHING, got ERROR - BadValue
Test ChangeHosts failed with 1 error.Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted to be 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 1835
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority