diff --git a/tests/lib/LargeFileHelperGetFileSizeTest.php b/tests/lib/LargeFileHelperGetFileSizeTest.php index e21ac4ee64..3066d48792 100644 --- a/tests/lib/LargeFileHelperGetFileSizeTest.php +++ b/tests/lib/LargeFileHelperGetFileSizeTest.php @@ -60,6 +60,9 @@ class LargeFileHelperGetFileSizeTest extends TestCase { * @dataProvider dataFileNameProvider */ public function testGetFileSizeViaExec($filename, $fileSize) { + if (escapeshellarg('strängé') !== '\'strängé\'') { + $this->markTestSkipped('Your escapeshell args removes accents'); + } if (!\OC_Helper::is_function_enabled('exec')) { $this->markTestSkipped( 'The exec() function needs to be enabled for this test.'