X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FFile%2FCompare.t;h=2685077b36261c99a1b2b8e73d47bbbc09c15985;hb=bfbf02a1bb78f5006578304da872a3d29b074c1f;hp=b5a3e78ef438d0a2e26a059f2e551344ab0b9a5e;hpb=65926997b59b084a2ff3a35734a3cb30ed9d17fa;p=p5sagit%2Fp5-mst-13.2.git 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