MediaWiki REL1_31
|
Integration tests to ensure that firejail actually prevents execution. More...
Public Member Functions | |
provideExecute () | |
setUp () | |
testExecute ( $testCommand, $flag) | |
@coversNothing provideExecute | |
testSanity () | |
Integration tests to ensure that firejail actually prevents execution.
Meant to run on vagrant, although will probably work on other setups as long as firejail and sudo has similar config.
large Shell FirejailCommand
Definition at line 15 of file FirejailCommandTest.php.
FirejailCommandIntegrationTest::provideExecute | ( | ) |
Definition at line 66 of file FirejailCommandTest.php.
References $IP.
FirejailCommandIntegrationTest::setUp | ( | ) |
Definition at line 17 of file FirejailCommandTest.php.
References execute(), and wfIsWindows().
FirejailCommandIntegrationTest::testExecute | ( | $testCommand, | |
$flag ) |
@coversNothing provideExecute
Definition at line 40 of file FirejailCommandTest.php.
FirejailCommandIntegrationTest::testSanity | ( | ) |
Definition at line 26 of file FirejailCommandTest.php.
References $command.