Example #1
0
 public function patch($build, $options)
 {
     $this->logger->info('===> Applying patch - apxs2 module version name ...');
     if ($options->dryrun) {
         return;
     }
     $patches = PatchCollection::createPatchesForApxs2($this->logger, $build);
     foreach ($patches as $patch) {
         $patch->enableBackup();
         $patch->apply();
     }
 }
Example #2
0
 public function testCreatePathcesForApxs2()
 {
     is(1, count(PatchCollection::createPatchesForApxs2($this->logger, $this->build)));
 }