shell: Add NO_LOCALSETTINGS restriction
[lhc/web/wiklou.git] / tests / phpunit / includes / shell / FirejailCommandTest.php
index c9db74f..57d820e 100644 (file)
@@ -31,7 +31,8 @@ class FirejailCommandTest extends PHPUnit_Framework_TestCase {
                // @codingStandardsIgnoreEnd
                $limit = "$IP/includes/shell/limit.sh";
                $profile = "--profile=$IP/includes/shell/firejail.profile";
-               $default = '--noroot --seccomp=@default --private-dev';
+               $blacklist = '--blacklist=' . realpath( MW_CONFIG_FILE );
+               $default = "$blacklist --noroot --seccomp=@default --private-dev";
                return [
                        [
                                'No restrictions',