From: Richard D. <ric...@us...> - 2009-03-05 06:42:33
|
Update of /cvsroot/file-extattr/File-ExtAttr/t In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20501/t Modified Files: 12empty.t Log Message: Fix RT #31970: "OS X: setfattr fails to set empty value". According to the CPAN Testers results, this works on Mac OS X 10.5. Skip the "empty" tests on Mac OS X 10.4 and earlier. Document issue. Index: 12empty.t =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/t/12empty.t,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** 12empty.t 6 Apr 2008 09:12:47 -0000 1.2 --- 12empty.t 5 Mar 2009 06:42:20 -0000 1.3 *************** *** 10,13 **** --- 10,14 ---- use strict; use Test::More; + use Config; BEGIN { *************** *** 20,23 **** --- 21,26 ---- if (t::Support::should_skip()) { plan skip_all => 'Tests unsupported on this OS/filesystem'; + } elsif (($Config{osname} eq 'darwin') && ($Config{osvers} =~ m/^[0-8]\./)) { + plan skip_all => "Mac OS X 10.4 and earlier don't support empty values"; } else { plan tests => 12; |