Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Jan 14, 2025
1 parent 795b701 commit edbfbd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Functional/Net/SSH2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,12 @@ public function testDisablePTY(SSH2 $ssh)
'Failed asserting that exec channel identifier is returned after pty exec close.'
);

try {
$ssh->exec('pwd');
} catch (\Exception $e) {
echo $e->getMessage();
exit;
}

$this->assertFalse(
$ssh->isPTYOpen(),
Expand Down

0 comments on commit edbfbd4

Please sign in to comment.