MediaWiki  REL1_31
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 More...
 
 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 FirejailCommandTest.php.

Member Function Documentation

◆ provideExecute()

FirejailCommandIntegrationTest::provideExecute ( )

Definition at line 66 of file FirejailCommandTest.php.

References $IP, and global.

◆ setUp()

FirejailCommandIntegrationTest::setUp ( )

Definition at line 17 of file FirejailCommandTest.php.

References execute(), and wfIsWindows().

◆ testExecute()

FirejailCommandIntegrationTest::testExecute (   $testCommand,
  $flag 
)

@coversNothing provideExecute

Definition at line 40 of file FirejailCommandTest.php.

References $command, and execute().

◆ testSanity()

FirejailCommandIntegrationTest::testSanity ( )

Definition at line 26 of file FirejailCommandTest.php.

References $command.


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