Skip to content

Commit bb544c4

Browse files
committed
tmp
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent c0080e0 commit bb544c4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/lib/TempManagerTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,14 @@ public function testCleanOld(): void {
132132
public function testLogCantCreateFile(): void {
133133
$logger = $this->createMock(LoggerInterface::class);
134134
$manager = $this->getManager($logger);
135+
var_dump(
136+
posix_getpwuid(posix_getuid()),
137+
);
138+
printf('%o', fileperms($this->baseDir));
139+
echo PHP_EOL;
135140
chmod($this->baseDir, 0500);
141+
printf('%o', fileperms($this->baseDir));
142+
echo PHP_EOL;
136143
$logger->expects($this->once())
137144
->method('warning')
138145
->with($this->stringContains('Can not create a temporary file in directory'));

0 commit comments

Comments
 (0)