Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435128 Details for
Bug 503946
=dev-python/pyxattr-0.5.2 - tests for pyxattr assume that newly created temporary files have no extended attributes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Handle TEST_DIR and TEST_IGNORE_XATTRS
pyxattr-TEST_DIR-and-TEST_IGNORE_XATTRS.patch (text/plain), 1010 bytes, created by
gentoo_usr
on 2016-05-23 19:33:15 UTC
(
hide
)
Description:
Handle TEST_DIR and TEST_IGNORE_XATTRS
Filename:
MIME Type:
Creator:
gentoo_usr
Created:
2016-05-23 19:33:15 UTC
Size:
1010 bytes
patch
obsolete
>--- a/dev-python/pyxattr/pyxattr-0.5.5.ebuild >+++ b/dev-python/pyxattr/pyxattr-0.5.5.ebuild >@@ -39,10 +39,25 @@ > src_test() { > # Perform the tests in /var/tmp; that location is more likely > # to have xattr support than /tmp which is often tmpfs. >- export TESTDIR=/var/tmp >+ # However, respect the user choice for TEST_DIR. (Bug #503946) >+ if [ -z "${TEST_DIR}" ]; then >+ export TEST_DIR=/var/tmp >+ fi >+ if [ -z "${TEST_IGNORE_XATTRS}" ]; then >+ export TEST_IGNORE_XATTRS="security.selinux" >+ fi > > einfo 'Please note that the tests fail if xattrs are not supported' > einfo 'by the filesystem used for /var/tmp.' >+ einfo 'To use a different location than /var/tmp set the environment' >+ einfo 'variable TEST_DIR to that location, e.g.' >+ einfo >+ einfo ' $ export TEST_DIR="/my/test/place"' >+ einfo >+ einfo 'For even more control TEST_IGNORE_XATTRS (Bug #503946) can also' >+ einfo 'be set. Refer to the documentation in the source code for further' >+ einfo 'information.' >+ > distutils-r1_src_test > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 503946
: 435128