|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1811 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 1811.
Report 1811 Actions
Problem Report Number 1811 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0888 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1997-01-22 08:00 Product Standard Window System Application Interface V2 Certification Program The Open Brand certification program Test Suite VSW version 5.0.0 Test Identification Xt13/trspathnm 019 Problem Summary TSD4W.00138 This test may fail on implementations because the language string does not contain a territory part making %L and %l possibly identical. Problem Text
These errors are the result of not having a "_" in the LANGSTRING
used, resulting in %L and %l being the same. Thus two of the expected
default paths are duplicates and there is no need for the system to
search the redundant path again. The path duplicates which
are the same in the original test case are shown here:
1. /usr/lib/X11/%L/%T/%N%C%S
/usr/lib/X11/%l/%T/%N%C%S
2. /usr/lib/X11/%L/%T/%N%S
/usr/lib/X11/%l/%T/%N%S
It appears that changing the test as follows would result in
testing the intended functionality.
The changes are shown here using diff command:
$ diff Test.c Test.c.org
199c199
< char *string_good7 = "/test/path/LANG_STRING"
---
> char *string_good7 = "/test/path/LANGSTRING"
275c275
< return("LANG_STRING");
---
> return("LANGSTRING");
Test Output
TEST CASE: XtResolvePathname
TEST PURPOSE #19
Assertion XtResolvePathname-19.(A)
When path is NULL and the environment variable
XFILESEARCHPATH is not defined a call to String
XtResolvePathname(display, type, filename, suffix, path,
substitutions, num_substitutions, predicate) shall use a
default path that contains at least the entries containing
the following substitutions, in the order specified: - %C,
%N, %S, %T, %L or %C, %N, %S, %T, %l, %t, %c - %C, %N, %S,
%T, %l - %C, %N, %S, %T - %N, %S, %T, %L - %N, %S, %T, %l -
%N, %S, %T
PREP: Initialize toolkit, Open display and Create topLevel root widget
PREP: Merge customization string into display database
TEST: Call XtResolvePathname with NULL path
INFO: String 1 is "/usr/lib/X11/LANGSTRING/TYPE/FILECUSTOMSUFFIX"
INFO: String 2 is "/usr/lib/X11/TYPE/FILECUSTOMSUFFIX"
INFO: String 3 is "/usr/lib/X11/LANGSTRING/TYPE/FILESUFFIX"
ERROR: Expected string to contain %C (CUSTOM)
INFO: String 4 is "/usr/lib/X11/TYPE/FILESUFFIX"
ERROR: Expected predicate to be called at least 6 times, was called 4 times
19 FAIL
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
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 1811
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority