1
0
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:
Andreas Fischer 2014-04-07 17:58:49 +02:00
parent 526a5c2ffb
commit 96aaa262eb

View File

@ -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'));
}
}