Exemple #1
0
 /**
  * @memcheck
  */
 public function testGetAnotherGroup()
 {
     $actual = Process::getGroup('nobody');
     $expected = posix_getgrnam('nobody');
     if (!$expected) {
         $this->markTestSkipped("posix_getgrnam() failed (root?)");
     }
     $this->assertSame($expected['name'], $actual['name']);
     $this->assertSame($expected['gid'], $actual['gid']);
     $this->assertSame($expected['members'], $actual['members']);
 }