Skip to content
Snippets Groups Projects
Unverified Commit a25b46f4 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Make sure we can also run with escapedshell args

parent b98fbcb7
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,9 @@ class LargeFileHelperGetFileSizeTest extends TestCase { ...@@ -60,6 +60,9 @@ class LargeFileHelperGetFileSizeTest extends TestCase {
* @dataProvider dataFileNameProvider * @dataProvider dataFileNameProvider
*/ */
public function testGetFileSizeViaExec($filename, $fileSize) { 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')) { if (!\OC_Helper::is_function_enabled('exec')) {
$this->markTestSkipped( $this->markTestSkipped(
'The exec() function needs to be enabled for this test.' 'The exec() function needs to be enabled for this test.'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment