Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177538 - sys-apps/coreutils-6.9 test failure
Summary: sys-apps/coreutils-6.9 test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 19:19 UTC by Ravi Pinjala
Modified: 2008-08-19 19:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch (coreutil-6.9-r1-fixtests.patch,405 bytes, patch)
2007-05-07 19:36 UTC, Ravi Pinjala
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Pinjala 2007-05-07 19:19:04 UTC
sys-apps/coreutils-6.9 test suite fails.

...
PASS: follow-slink
PASS: no-arg
PASS: m-option
PASS: stat-vs-dirent
/bin/sh: line 8: ./x-option: Permission denied
FAIL: x-option
======================================
1 of 17 tests failed
(1 tests were not run)
Please report to bug-coreutils@gnu.org
======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/ls'
make: *** [check-am] Error 2

Looks to be fairly trivial to fix, will add a patch once I've tested it.

Reproducible: Always

Steps to Reproduce:
1. FEATURES="test" emerge coreutils
2.
3.

Actual Results:  
failure

Expected Results:  
success
Comment 1 Ravi Pinjala 2007-05-07 19:36:29 UTC
Created attachment 118484 [details, diff]
proposed patch

This is really all that's necessary for the test suite to work.
Comment 2 Steffen Bergner 2007-06-11 08:42:09 UTC
(In reply to comment #1)
> Created an attachment (id=118484) [edit]
> proposed patch
> 
> This is really all that's necessary for the test suite to work.
> 

Thank you.

Without the patch: Test fails.

With the applied patch: Tests ok and coreutils got installed.

Verified work of this patch. :)

Just weird, anything possible to fix this?  ("not writable by user 'nobody' at all", so these tests aren't be skipped anymore?) I am running "emerge" as root with this FEATURES="autoconfig ccache distcc parallel-fetch sandbox test userfetch userprivs usersandbox"
---
./basic-1: /var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/tests/install: not writable by user `nobody'
./basic-1: skipping this test
SKIP: basic-1
---
Comment 3 Steffen Bergner 2007-06-12 07:44:14 UTC
(In reply to comment #2)

With newest coreutils-6.9-r1 (2nd release from June 11th 2007) it works now.

No problem with tests, just the "not writable by user 'nobody' at all"-message.

Short: Now works for me.

Comment 4 Dmitry Dzhus 2008-08-19 14:02:51 UTC
(In reply to comment #3)

Shouldn't this bug be closed then? We have bug 219169, but that's another test issue there.