mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
server factory tests
This commit is contained in:
parent
fc9963f738
commit
fc9f0bd408
4 changed files with 93 additions and 2 deletions
|
|
@ -45,7 +45,11 @@ class System implements ISystem {
|
|||
return $this->getBinaryPath('stdbuf');
|
||||
}
|
||||
|
||||
private function getBinaryPath($binary) {
|
||||
public function libSmbclientAvailable() {
|
||||
return function_exists('smbclient_state_new');
|
||||
}
|
||||
|
||||
protected function getBinaryPath($binary) {
|
||||
if (!isset($this->paths[$binary])) {
|
||||
$result = null;
|
||||
$output = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue