|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2488 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 2488.
Report 2488 Actions
Problem Report Number 2488 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1291 Raised 2005-11-17 03:10 Updated 2005-11-18 19:41 Published 2005-11-18 19:41 Product Standard Commands and Utilities V4 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSC version 5.2.7 Test Identification POSIX.cmd/find 22, 35 Specification Shell and Utilities Issue 6 Problem Summary find 22 and 35 expect specific order for returned file names Problem Text The strategy for find #22 says:
# Specifically, we create a directory named find_dir_22 and files a and b
# in that directory. We then do a
# find find_dir_22 -print -name a
# If the -print is evaluated first (it always evaluates to true) then all
# files including the directory will be printed.
The problem with the test is that it is expecting not only all the file
names are printed, but printed in a specific order.
Historically, directory entries have been returned in the order in
which they were created until a directory entry was removed. There is
no requirement in the standard that requires this behavior. Once a
directory entry was removed, addition of a new file in the directory
could, in theory, cause a complete rearrangement. The most common case
is that one or more new directory entries might fit into a spot vacated
by a removed directory entry and in some case removal of several files
could cause following directory entries to be rearranged in seemingly
random order.Test Output
***********************************************************************
/tset/POSIX.cmd/find/find.ex 22 Failed
Test Information:
Assertion #22 (A): Test of GA31 - find operands are processed in
order.
Standard output isn't the same as file 'find_eso_22'
diff of "out.stdout" and "find_eso_22":
*** out.stdout Thu Oct 13 11:44:37 2005
--- find_eso_22 Thu Oct 13 11:44:37 2005
***************
*** 1,3 ****
find_dir_22
- find_dir_22/b
find_dir_22/a
--- 1,3 ----
find_dir_22
find_dir_22/a
+ find_dir_22/b
***********************************************************************
***********************************************************************
/tset/POSIX.cmd/find/find.ex 35 Failed
Test Information:
Assertion #35 (A): Test name pattern against GA212
Standard output isn't the same as file 'find_eso_35_2'
diff of "out.stdout" and "find_eso_35_2":
*** out.stdout Thu Oct 13 11:44:39 2005
--- find_eso_35_2 Thu Oct 13 11:44:39 2005
***************
*** 1,2 ****
- find_dir_35/aBc
find_dir_35/a
--- 1,2 ----
find_dir_35/a
+ find_dir_35/aBc
***********************************************************************Review Information
Review Type TSMA Review Start Date 2005-11-17 03:10 Last Updated 2005-11-17 18:17 Completed 2005-11-17 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 2005-11-17 18:17 Last Updated 2005-11-18 02:31 Completed 2005-11-18 02:31 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion This Pr represents and agreed test suite deficiency.
Problem Reporting System Options:
- View Report 2488
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority