mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01:00
Use pwd instead of ls. If the directory is empty callback will not be called.
This commit is contained in:
parent
526a5c2ffb
commit
96aaa262eb
@ -56,6 +56,6 @@ class Net_SSH2FunctionalTest extends PhpseclibFunctionalTestCase
|
||||
->expects($this->atLeastOnce())
|
||||
->method('callbackMethod')
|
||||
->will($this->returnValue(true));
|
||||
$ssh->exec('ls', array($callbackObject, 'callbackMethod'));
|
||||
$ssh->exec('pwd', array($callbackObject, 'callbackMethod'));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user