split running of smbclient and libsmbclient backend tests

This commit is contained in:
Robin Appelman 2015-04-25 16:54:41 +02:00
commit 25c0dffdc7
8 changed files with 39 additions and 9 deletions

View file

@ -11,6 +11,7 @@ use Icewind\SMB\NativeServer;
class NativeShare extends AbstractShare {
public function setUp() {
$this->requireBackendEnv('libsmbclient');
if (!function_exists('smbclient_state_new')) {
$this->markTestSkipped('libsmbclient php extension not installed');
}