Bugzilla – Attachment 3149 Details for
Bug 2856
key-options.sh fails when pty /dev/ttyp1 is not owned by testing user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Skip pty tests on platforms without openpty(3)
bz2856.diff (text/plain), 797 bytes, created by
Damien Miller
on 2018-05-11 13:32:32 AEST
(
hide
)
Description:
Skip pty tests on platforms without openpty(3)
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2018-05-11 13:32:32 AEST
Size:
797 bytes
patch
obsolete
>diff --git a/regress/key-options.sh b/regress/key-options.sh >index d680737c..78d1adc7 100644 >--- a/regress/key-options.sh >+++ b/regress/key-options.sh >@@ -27,6 +27,7 @@ expect_pty_succeed() { > rm -f $OBJ/data > sed "s/.*/$opts &/" $origkeys >$authkeys > verbose "key option pty $which" >+ config_defined HAVE_OPENPTY || verbose "skipped for no openpty(3)" > ${SSH} -ttq -F $OBJ/ssh_proxy somehost "tty > $OBJ/data; exit 0" > if [ $? -ne 0 ] ; then > fail "key option failed $which" >@@ -44,6 +45,7 @@ expect_pty_fail() { > rm -f $OBJ/data > sed "s/.*/$opts &/" $origkeys >$authkeys > verbose "key option pty $which" >+ config_defined HAVE_OPENPTY || verbose "skipped for no openpty(3)" > ${SSH} -ttq -F $OBJ/ssh_proxy somehost "tty > $OBJ/data; exit 0" > if [ $? -eq 0 ]; then > r=`cat $OBJ/data`
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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2856
: 3149