Skip to content

Commit

Permalink
Merge PR #60 into devel
Browse files Browse the repository at this point in the history
This change fixes flaky SEGFAULTs in
`pylibsshext.channel.Channel.exec_command()`.
  • Loading branch information
webknjaz committed Jun 12, 2020
2 parents 184e4d2 + a56356e commit 129c040
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/pylibsshext/includes/callbacks.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ from libc.stdint cimport uint32_t

from pylibsshext.includes.libssh cimport ssh_session, ssh_channel

cdef extern from "libssh/callbacks.h" nogil:
cdef extern from "libssh/callbacks.h":

void ssh_callbacks_init(void *)

Expand Down
5 changes: 0 additions & 5 deletions tests/unit/channel_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ def ssh_channel(ssh_client_session):
chan.close()


@pytest.mark.xfail(
reason='This test causes SEGFAULT, flakily.',
run=False,
strict=False,
)
@pytest.mark.forked
def test_exec_command(ssh_channel):
"""Test getting the output of a remotely executed command."""
Expand Down

0 comments on commit 129c040

Please sign in to comment.