/** * Make sure options can not be introduced in filename input. * * @issue https://github.com/pear/System_Launcher/issues/1 * @return void */ public function testOptionsAreStripped() { $launcher = new System_Launcher(array(new System_Launcher_Driver_GoodLs())); $returnStatus = $launcher->launch('-Afg .'); $this->assertFalse($returnStatus); $this->assertEmpty($launcher->getLastOutput(), 'This should have failed, producing no output.'); }