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

 
 

bug #14390: Test suite failure in quit.exp

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Sat 03 Sep 2005 05:41:45 PM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.2.25Fixed Release: 4.2.26

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 19 Nov 2005 09:45:40 PM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.26
Sat 19 Nov 2005 08:07:13 PM UTCjayAssigned toNone=>jay
Sat 03 Sep 2005 06:49:19 PM UTCjayStatusNone=>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.1-cleanup1