[packages/openssh] try disabling tests that require pty
atler
atler at pld-linux.org
Thu Oct 17 17:02:53 CEST 2019
commit babeef588093a78c756fc78f3d359adc5846f6a2
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Oct 17 17:02:21 2019 +0200
try disabling tests that require pty
openssh-no-pty-tests.patch | 16 ++++++++++++++++
openssh.spec | 1 +
2 files changed, 17 insertions(+)
---
diff --git a/openssh.spec b/openssh.spec
index 9910979..db6c067 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -54,6 +54,7 @@ Source9: sshd.service
Source10: sshd-keygen
Source11: sshd.socket
Source12: sshd at .service
+Patch0: %{name}-no-pty-tests.patch
Patch1: %{name}-tests-reuseport.patch
Patch2: %{name}-pam_misc.patch
Patch3: %{name}-sigpipe.patch
diff --git a/openssh-no-pty-tests.patch b/openssh-no-pty-tests.patch
new file mode 100644
index 0000000..a620c69
--- /dev/null
+++ b/openssh-no-pty-tests.patch
@@ -0,0 +1,16 @@
+diff -urN openssh-8.1p1.orig/regress/key-options.sh openssh-8.1p1/regress/key-options.sh
+--- openssh-8.1p1.orig/regress/key-options.sh 2019-10-09 02:31:03.000000000 +0200
++++ openssh-8.1p1/regress/key-options.sh 2019-10-17 17:00:24.947221081 +0200
+@@ -59,10 +59,10 @@
+ fi
+ }
+ # First ensure that we can allocate a pty by default.
+-expect_pty_succeed "default" ""
++#expect_pty_succeed "default" ""
+ expect_pty_fail "no-pty" "no-pty"
+ expect_pty_fail "restrict" "restrict"
+-expect_pty_succeed "restrict,pty" "restrict,pty"
++#expect_pty_succeed "restrict,pty" "restrict,pty"
+
+ # Test environment=
+ # XXX this can fail if ~/.ssh/environment exists for the user running the test
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/babeef588093a78c756fc78f3d359adc5846f6a2
More information about the pld-cvs-commit
mailing list