This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
stop op/groups.t skipping on Linux
authorDavid Mitchell <davem@iabyn.com>
Sat, 20 Feb 2010 19:34:05 +0000 (19:34 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 21 Feb 2010 23:39:03 +0000 (23:39 +0000)
commit67d13d020f12d3ee57eba5c0a0265a692cf02e3f
tree5ba3405ac2757618569a1f73552d32744902f77f
parentb5ffec61b15547ad2797c1dab817816a248f736a
stop op/groups.t skipping on Linux

My linux (with selinux) includes a "context=" field as part of the
output of "id -a". Make the extraction of the "groups=(.+)" entry
of "id -a" more robust in the presence of unpredictable (in name and
ordering) fields, by splitting on fieldname=(.*), then looking for a field
name of 'groups'.
t/op/groups.t