Make sure we can also run with escapedshell args
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
b98fbcb774
commit
a25b46f494
|
@ -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.'
|
||||
|
|
Loading…
Reference in New Issue