Follow-up Comment #2, bug #48314 (project findutils):

I have been wondering why the testsuite did not detect this and have found
that the issue does not show up if -maxdepth is used.

Find attached a trivial two-patch series to detect the bug:

0001-Test-checked-for-features-in-installed-find.patch
find/testsuite/test_type-list.sh ran the find binary installed on the system
/usr/bin/fin/find) instead of the just-built version to check find features.

0002-Detect-type-breakage-on-multiple-archs-48314.patch
Extend test_type-list.sh to also run trivial tests on "-type f" and "-type l"
*without* -maxdepth 0.

cu Andreas

(file #37570, file #37571)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-Test-checked-for-features-in-installed-find.patch Size:0 KB
File name: 0002-Detect-type-breakage-on-multiple-archs-48314.patch Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48314>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to