44 && Shell::command(
'sudo',
'-n',
'ls',
'/' )->
execute()->getExitCode()
51 ->unsafeParams( $testCommand )
56 ->restrict( $flag === Shell::NO_NETWORK ? Shell::PRIVATE_DEV : Shell::NO_NETWORK );
58 $this->
assertSame( 0, $result->getExitCode(),
'sanity check' );
62 ->unsafeParams( $testCommand )
65 $this->
assertNotSame( 0, $result->getExitCode(),
'real check' );