X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FFile%2FCompare.t;h=2685077b36261c99a1b2b8e73d47bbbc09c15985;hb=e63b33793c3cf76a134a6446d1f83479e030a15f;hp=8c369f41b6cd7c673cf25552658983b1c3477e0d;hpb=8974ce1ee942c407c5080e83810eaada482b2f0f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/File/Compare.t b/lib/File/Compare.t index 8c369f4..2685077 100644 --- a/lib/File/Compare.t +++ b/lib/File/Compare.t @@ -105,20 +105,13 @@ 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 # file/fileCR [$donetests[2]]\n"; + print "ok 13 # "; + print "TODO" if $^O eq "cygwin"; # spaces after filename silently trunc'd + print " file/fileCR [$donetests[2]]\n"; } else { print "ok 11# Skip\nok 12 # Skip\nok 13 # Skip Likely due to File::Temp\n"; } -