From: Craig A. Berry Date: Wed, 18 Jan 2006 05:12:10 +0000 (+0000) Subject: special VMS handling no longer needed since we now close the file X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0a475e9939f02cc9940a8cd9cee7dcd125eb6b48;p=p5sagit%2Fp5-mst-13.2.git special VMS handling no longer needed since we now close the file p4raw-id: //depot/perl@26889 --- diff --git a/lib/File/Compare.t b/lib/File/Compare.t index b5a3e78..2685077 100644 --- a/lib/File/Compare.t +++ b/lib/File/Compare.t @@ -105,16 +105,8 @@ print "# problem '$@' when testing with a temporary file\n" if $@; if (@donetests == 3) { print "not " unless $donetests[0] == 0; print "ok 11 # fh/file [$donetests[0]]\n"; - if ($^O eq 'VMS') { - # The open attempt on FROM in File::Compare::compare should fail - # on this OS since files are not shared by default. - print "not " unless $donetests[1] == -1; - print "ok 12 # file/file [$donetests[1]]\n"; - } - else { - print "not " unless $donetests[1] == 0; - print "ok 12 # file/file [$donetests[1]]\n"; - } + print "not " unless $donetests[1] == 0; + print "ok 12 # file/file [$donetests[1]]\n"; print "not " unless $donetests[2] == 0; print "ok 13 # "; print "TODO" if $^O eq "cygwin"; # spaces after filename silently trunc'd