MediaWiki  master
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)
 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 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 execute(), and wfIsWindows().

◆ testExecute()

FirejailCommandIntegrationTest::testExecute (   $testCommand,
  $flag 
)

provideExecute

Definition at line 42 of file FirejailCommandIntegrationTest.php.

References $command, and execute().

◆ testSanity()

FirejailCommandIntegrationTest::testSanity ( )

Definition at line 28 of file FirejailCommandIntegrationTest.php.

References $command.


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