Subject: | Tests fail on linux if there's no ext2 fs mounted |
... in this case $dirs is undefined and using @$dirs fails:
$ perl5.18.4 -Mblib t/linux-ext2.t
Can't use an undefined value as an ARRAY reference at t/linux-ext2.t line 26.
Probably the test should be skipped just if $dirs is undefined. And the linux check might even be removed, as there are non-linux systems with ext2 support (I think freebsd has it).