Lines Matching refs:parents
141 my @parents;
146 @parents = lgrp_parents($c, $l) or
148 my $nparents = @parents;
149 my ($parent, @rest) = @parents;
154 ok($fail, 0, 'correct parents for children');
158 # Illegal parents have no children
162 ok(scalar @children, 0, 'Illegal parents have no children');
167 # root should have no parents.
169 @parents = lgrp_parents($c, $root);
170 ok(scalar @parents, 0, 'root should have no parents');
177 @parents = lgrp_parents($c, -1);
179 ok(scalar @parents, 0, 'Illegal children have no paremts');
181 ok($nparents, undef, 'No parents means undef as scalar');