2 use test::helper qw($_real $_point);
8 # Ignoring the f_namelen field; NetBSD's statvfs1(2) syscall doesn't
9 # seem to handle f_namelen right for PUFFS-based filesystems. Not our
10 # failure, and mostly irrelevant.
16 ok(my @list = (statvfs($_point))[1,2,3,5,6,9]);
17 diag "statfs: ",join(', ', @list);
18 is(shift(@list),4096,'block size');
19 is(shift(@list),1000000,'blocks');
20 is(shift(@list),500000,'blocks free');
21 is(shift(@list),1000000,'files');
22 is(shift(@list),500000,'files free');
23 unless ($^O eq 'netbsd') {
24 is(shift(@list),255,'namelen');