MediaWiki REL1_33
FirejailCommandIntegrationTest Class Reference

Integration tests to ensure that firejail actually prevents execution. More...

Inheritance diagram for FirejailCommandIntegrationTest:
Collaboration diagram for FirejailCommandIntegrationTest:

Public Member Functions

 provideExecute ()
 
 setUp ()
 
 testExecute ( $testCommand, $flag)
 @coversNothing provideExecute
 
 testSanity ()
 

Detailed Description

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 FirejailCommandIntegrationTest.php.

Member Function Documentation

◆ provideExecute()

FirejailCommandIntegrationTest::provideExecute ( )

Definition at line 68 of file FirejailCommandIntegrationTest.php.

References $IP.

◆ setUp()

FirejailCommandIntegrationTest::setUp ( )

Definition at line 17 of file FirejailCommandIntegrationTest.php.

References and(), execute(), and wfIsWindows().

◆ testExecute()

FirejailCommandIntegrationTest::testExecute ( $testCommand,
$flag )

@coversNothing provideExecute

Definition at line 42 of file FirejailCommandIntegrationTest.php.

References $command, and(), and execute().

◆ testSanity()

FirejailCommandIntegrationTest::testSanity ( )

Definition at line 28 of file FirejailCommandIntegrationTest.php.

References $command, and and().


The documentation for this class was generated from the following file: