Date: Saturday, February 4, 2017 @ 07:04:53
Author: bisson
Revision: 288008
implement FS#52823
Modified:
openssh/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-04 06:27:00 UTC (rev 288007)
+++ PKGBUILD 2017-02-04 07:04:53 UTC (rev 288008)
@@ -56,10 +56,14 @@
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ [[ -e /.arch-chroot ]] && return
+ # Connectivity tests will fail under makechrootpkg since
+ # it runs as nobody which has /bin/false as login shell.
+
+ [[ -e /usr/bin/scp ]] || return
+ # Tests require openssh to be already installed system-wide.
+
make tests
-
- # Connectivity tests will fail with makechrootpkg since
- # it runs as nobody which has /bin/false as login shell.
}
package() {