Skip to content

Commit 75eaec4

Browse files
authored
Timeout tests (#28)
* Raise error when failing to create new channel object. * Added timeout settings tests. * Added check for new local libssh install dir. Updated gitignore. * Updated manifest * Updated changelog
1 parent 5f90e62 commit 75eaec4

File tree

7 files changed

+811
-803
lines changed

7 files changed

+811
-803
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ build
55
*~
66
*.so*
77
src
8+
local
89
libssh/compile_commands.json
910
wheelhouse
1011
.idea

Diff for: Changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Changes
88
-------
99

1010
* Updated embedded libssh to ``0.9.5``.
11+
* ``Session.channel_new`` now raises ``ssh.exceptions.ChannelOpenFailure`` on failure to create new channel.
1112

1213
0.6.0
1314
+++++

Diff for: MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ include LICENSE
66
include COPYING
77
include ssh/*.pyx
88
include ssh/*.pxd
9+
include ssh/*.c
910
recursive-include libssh *
1011
include ci/build_ssh.sh
1112
include _setup_libssh.py

Diff for: _setup_libssh.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def build_ssh():
2222
os.mkdir('local/lib')
2323
# Depending on architecture cmake installs libraries into lib64,
2424
# but we don't care about that.
25-
os.symlink('lib', 'local/lib64')
25+
if not os.path.exists('local/lib64'):
26+
os.symlink('lib', 'local/lib64')
2627

2728
os.chdir('src')
2829
check_call('cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../local -DWITH_GSS_API=ON ../libssh',

0 commit comments

Comments
 (0)