mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
spaces to tab fix
This commit is contained in:
parent
1cb1f3f56a
commit
99f721a436
5 changed files with 60 additions and 60 deletions
|
|
@ -474,20 +474,20 @@ abstract class AbstractShareTest extends TestCase {
|
|||
unlink($tmpFile1);
|
||||
}
|
||||
|
||||
public function testAppendStream() {
|
||||
$fh = $this->share->append($this->root . '/' . $name);
|
||||
fwrite($fh, 'foo');
|
||||
fclose($fh);
|
||||
public function testAppendStream() {
|
||||
$fh = $this->share->append($this->root . '/' . $name);
|
||||
fwrite($fh, 'foo');
|
||||
fclose($fh);
|
||||
|
||||
$fh = $this->share->append($this->root . '/' . $name);
|
||||
fwrite($fh, 'bar');
|
||||
fclose($fh);
|
||||
$fh = $this->share->append($this->root . '/' . $name);
|
||||
fwrite($fh, 'bar');
|
||||
fclose($fh);
|
||||
|
||||
$tmpFile1 = tempnam('/tmp', 'smb_test_');
|
||||
$this->assertEquals('foobar', file_get_contents($tmpFile1));
|
||||
$this->share->del($this->root . '/' . $name);
|
||||
unlink($tmpFile1);
|
||||
}
|
||||
$tmpFile1 = tempnam('/tmp', 'smb_test_');
|
||||
$this->assertEquals('foobar', file_get_contents($tmpFile1));
|
||||
$this->share->del($this->root . '/' . $name);
|
||||
unlink($tmpFile1);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider invalidPathProvider
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ use Icewind\SMB\System;
|
|||
use Icewind\SMB\TimeZoneProvider;
|
||||
|
||||
class NativeShareTest extends AbstractShareTest {
|
||||
public function setUp() {
|
||||
public function setUp() {
|
||||
$this->requireBackendEnv('libsmbclient');
|
||||
if (!function_exists('smbclient_state_new')) {
|
||||
$this->markTestSkipped('libsmbclient php extension not installed');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue