Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 680791 Details for
Bug 738810
sys-devel/patch-2.7.6-r4 tests fail with "1: eval: Bad substitution" with app-shells/dash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-2.7.6-fix-test-suite-further.patch
patch-2.7.6-fix-test-suite-further.patch (text/plain), 959 bytes, created by
kfm
on 2021-01-03 07:33:28 UTC
(
hide
)
Description:
patch-2.7.6-fix-test-suite-further.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2021-01-03 07:33:28 UTC
Size:
959 bytes
patch
obsolete
>Author: Kerin Millar <kfm@plushkava.net> >Date: Sun Jan 3 07:08:10 2021 +0000 > > Fix test for presence of BASH_LINENO[0] > > eval is not some sort of magical sandbox for executing code that might cause > the shell's parser to take exception. Render the test resilient by carrying > it out within a subshell. While at it, position the redirection so that > STDERR is, in fact, muted. > > Signed-off-by: Kerin Millar <kfm@plushkava.net> > Reported-by: Paolo Pedroni <paolo.pedroni@iol.it> > Closes: https://bugs.gentoo.org/738810 > >diff -ur a/tests/test-lib.sh b/tests/test-lib.sh >--- a/tests/test-lib.sh 2021-01-03 07:03:32.343122695 +0000 >+++ b/tests/test-lib.sh 2021-01-03 07:05:11.232560313 +0000 >@@ -113,7 +113,7 @@ > exit $status > } > >-if eval 'test -n "${BASH_LINENO[0]}" 2>/dev/null'; then >+if ( eval 'test -n "${BASH_LINENO[0]}"' 2>/dev/null ); then > eval ' > _start_test() { > printf "[${BASH_LINENO[2]}] %s -- " "$*"
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 738810
:
656422
| 680791