bugfindutils - Bugs: bug #14390, Test suite failure in quit.exp

 
 

bug #14390: Test suite failure in quit.exp

Submitter:  Andreas Metzler <ametzler>
Submitted:  Sat 03 Sep 2005 05:41:45 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  4.2.25 Fixed Release:  4.2.26
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 Sep 2005 06:49:19 PM UTC, comment #1: 

Argh, how stupid of me.  The test script passes or fails depending on the order in which directory entries are returned bby readdir().  Silly.  The attached patch should resolve the problem without reducing the value of the test.   Thanks for catching that.  I didn't see it because I am developing on a system which only has the ext3 flags "has_journal filetype sparse_super".

James Youngman <jay>
Group administrator
Sat 03 Sep 2005 05:41:45 PM UTC, original submission:  

The quit.(exp|xo) tests do not work for me. They test whether

mkdir tmp tmp/top tmp/top/one tmp/top/one/foo tmp/top/two
find tmp/top -depth -print -name one -quit

produces
tmp/top/one/foo
tmp/top/one

However on my system I get

ametzler@argenau:~/blah$ find tmp/top -depth -print -name one -quit
tmp/top/two
tmp/top/one/foo
tmp/top/one

in my homedirecory and /tmp which are both on a ext3 partition (with dir_index) and in /dev/shm which uses tmpfs.

I do get the expected result on VFAT and loop-mounted test-filesystems using ext2, ext3 or reiser.

Andreas Metzler <ametzler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-11-19 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.26
2005-11-19 jay Assigned toNone jay
2005-09-03 jay StatusNone Fixed
    Attached File- Added findutils-4.2.25-quit-test-direntry-order-bug-Savannah-14390.patch, #2904

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code