From: Yitzchak Scott-Thoennes Date: Tue, 9 Nov 2004 17:40:13 +0000 (-0800) Subject: Re: [perl #32272] Not OK: perl v5.8.5 +MAINT23414 on cygwin-thread-multi-64int 1... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4fdb3274a28952a735da9461d3c59a2e59bcb77;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #32272] Not OK: perl v5.8.5 +MAINT23414 on cygwin-thread-multi-64int 1.5.12s(0.11642) (UNINSTALLED) Message-ID: <20041110014012.GA2796@efn.org> p4raw-id: //depot/perl@23491 --- diff --git a/t/io/tell.t b/t/io/tell.t index fa9d809..21e8336 100755 --- a/t/io/tell.t +++ b/t/io/tell.t @@ -148,7 +148,13 @@ print $tst "foobar"; close $tst; open($tst,">>$written") || die "Cannot open $written:$!"; +# This test makes a questionable assumption that the file pointer will +# be at eof after opening a file but before seeking, reading, or writing. +# Only known failure is on cygwin. +my $skip = $^O eq "cygwin" && &PerlIO::get_layers($tst) eq 'stdio' + && ' # skip: file pointer not at eof'; + if (tell($tst) == 6) -{ print "ok 28\n"; } else { print "not ok 28\n"; } +{ print "ok 28$skip\n"; } else { print "not ok 28$skip\n"; } close $tst;