From: Richard D. <ric...@us...> - 2007-05-06 09:56:41
|
Update of /cvsroot/file-extattr/File-ExtAttr/t/lib/t In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27849/t/lib/t Added Files: Support.pm Log Message: Really fix build on NetBSD 3.1; update test suite to skip tests on NetBSD < 4.0 --- NEW FILE: Support.pm --- package t::Support; use strict; use Config; sub should_skip { # NetBSD 3.1 and earlier don't support xattrs. # See <http://www.netbsd.org/Changes/changes-4.0.html#ufs>. if ($^O eq 'netbsd') { my @t = split(/\./, $Config{osvers}); return 1 if ($t[0] <= 3); } return 0; } 1; |