Bug 439209 - False FAIL in libuser src.rpm testsuite
Summary: False FAIL in libuser src.rpm testsuite
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libuser
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Miloslav Trmač
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-27 15:28 UTC by Petr Muller
Modified: 2016-09-20 02:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-28 10:10:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Muller 2008-03-27 15:28:22 UTC
Description of problem: It seems that tests/pwhash_test testcase doesn't get 
exec permissions during build process, which results to this when doing 'make 
check':

/bin/sh: line 8: ./tests/pwhash_test: Permission denied
FAIL: tests/pwhash_test

After 'chmod a+x tests/pwhash_test', the test runs fine and PASSes

Version-Release number of selected component (if applicable):
libuser-0.54.7-2.el5.5.src.rpm

How reproducible:
always

Steps to Reproduce:
1. rpm -Uhv libuser-0.54.7-2.el5.5.src.rpm
2. rpmbuild -bc /usr/src/redhat/SPECS/libuser.spec
3. cd /usr/src/redhat/BUILD/libuser-0.54.7
4. make check
  
Actual results:
/bin/sh: line 8: ./tests/pwhash_test: Permission denied
FAIL: tests/pwhash_test
(...)
===================
1 of 5 tests failed
===================

Expected results:

PASS: tests/pwhash_test
==================
All 5 tests passed
==================

Additional info:
This is very very low priority, but could save us confusion when testing next 
release, and is probably easy to fix.

Comment 1 Miloslav Trmač 2008-03-28 10:10:24 UTC
Bitten by patch(1), which doesn't preserve permissions.  Worked around in
RHEL5.2 CVS, in Fedora pwhash_test is in the tarball and has the correct
permissions.

Thanks for your report.


Note You need to log in before you can comment on or make changes to this bug.