Skip to content

Commit 0a1d434

Browse files
author
Chris Austen
committed
Enable robottest for ssh
Dropbear last year added a change that breaks the SSHLibrary for robot test framework. Details about the problem... MarketSquare/SSHLibrary#128 The actual commit that caused the problem mkj/dropbear@ca86726
1 parent d19d16b commit 0a1d434

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

yocto-poky/meta/recipes-core/dropbear/dropbear.inc

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
1717
file://0003-configure.patch \
1818
file://0004-fix-2kb-keys.patch \
1919
file://0007-dropbear-fix-for-x32-abi.patch \
20+
file://0010-stop-robot-test-SSHLibrary-from-hanging.patch \
2021
file://init \
2122
file://dropbearkey.service \
2223
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From aa4ff477eed539085609dc9a8a011ff2f010bd1c Mon Sep 17 00:00:00 2001
2+
From: Chris Austen <[email protected]>
3+
Date: Fri, 6 Nov 2015 13:15:54 -0600
4+
Subject: [PATCH] stop robot test SSHLibrary from hanging
5+
6+
This reverts a change made in this commit
7+
8+
https://github.com/mkj/dropbear/commit/ca86726f9f943b2b18e5694b442d3d2e1c0fa903
9+
---
10+
common-channel.c | 2 ++
11+
1 file changed, 2 insertions(+)
12+
13+
diff --git a/common-channel.c b/common-channel.c
14+
index abe5941..5a02d73 100644
15+
--- a/common-channel.c
16+
+++ b/common-channel.c
17+
@@ -258,6 +258,8 @@ void channelio(fd_set *readfds, fd_set *writefds) {
18+
do_check_close = 1;
19+
ses.channel_signal_pending = 0;
20+
}
21+
+
22+
+do_check_close = 1;
23+
24+
/* handle any channel closing etc */
25+
if (do_check_close) {
26+
--
27+
1.9.1
28+

0 commit comments

Comments
 (0)