Skip to content

Functional tests #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Apr 18, 2014
Merged

Functional tests #27

merged 14 commits into from
Apr 18, 2014

Conversation

h4cc
Copy link
Collaborator

@h4cc h4cc commented Mar 11, 2014

Functional tests using travis local ssh daemon. Added tests for Login, Exec and Sftp.
Fixed a bug that disabled stderr output.

woiwa and others added 14 commits May 25, 2013 16:10
Sftp::scanDirectory() always recursively scans a whole directory tree even if no recursion is wanted. This patch uses scandir instead of the recursive method-call to avoid this.
Fix recursion when listing directories.
Needed to silence a few ssh2* function, because they were making undocumented warnings.
…g of STDERR output.

Unskipped the stderr test.
h4cc added a commit that referenced this pull request Apr 18, 2014
Functional tests added using travis-ci platform.
@h4cc h4cc merged commit 06a9dda into development Apr 18, 2014
@h4cc h4cc deleted the dev-functionaltests branch April 18, 2014 14:15
IanSimpson added a commit to IanSimpson/php-ssh that referenced this pull request Jan 11, 2017
PHP 5.6.28 made an (apparently undocumented) change for scanning an SFTP directory. Previously the URL was created by casting the Resource as a string ("Resource Herzult#27"), now it requires it to be cast as an int ("27"). 

Previously this function returned ssh2.sftp://Resource Herzult#27/my/url, now returns ssh2.sftp://27/my/url.

The "new" method has been tested in 5.6.26 and still works correctly (as well as 5.6.29 and 7.0.14).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants