Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459122 Details for
Bug 604798
>=sys-apps/sed-4.3 fails src_test in testsuite/panic-tests.sh
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sed-4.3-test-pty-readable.patch
sed-4.3-test-pty-readable.patch (text/plain), 872 bytes, created by
Kent Fredric (IRC: kent\n) (RETIRED)
on 2017-01-08 01:51:33 UTC
(
hide
)
Description:
sed-4.3-test-pty-readable.patch
Filename:
MIME Type:
Creator:
Kent Fredric (IRC: kent\n) (RETIRED)
Created:
2017-01-08 01:51:33 UTC
Size:
872 bytes
patch
obsolete
>From 0fa312e2052e293ffca338fa0f4fa71eb3bc5239 Mon Sep 17 00:00:00 2001 >From: Kent Fredric <kentnl@gentoo.org> >Date: Sun, 8 Jan 2017 14:36:32 +1300 >Subject: [PATCH] Ensure tty device is readable before running test > >Unreadable tty's fail with a different permissions error >instead of failing with "is a tty" error. >--- > testsuite/panic-tests.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/testsuite/panic-tests.sh b/testsuite/panic-tests.sh >index a2dba00..00a7090 100644 >--- a/testsuite/panic-tests.sh >+++ b/testsuite/panic-tests.sh >@@ -87,7 +87,7 @@ EOF > > ttydev=no-such-file > type tty >/dev/null 2>&1 && ttydev=$(tty 2>/dev/null) >-if test -w "$ttydev" ; then >+if test -w "$ttydev" && test -r "$ttydev" ; then > returns_ 4 sed -i = "$ttydev" 2>err-tty || fail=1 > > # remove the actual terminal device name (using sed itself...) >-- >2.11.0 >
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 604798
:
458880
|
458882
| 459122