diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-30 18:38:05 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-30 18:38:05 +0000 |
commit | c2fcde81f9cb1a632422e27a9e967bc087d75ae7 (patch) | |
tree | 4c5ab2d7d84ef8c703485606734324be2d84f6f2 /t | |
parent | 95005ad8d24eb76af265f09ad25a68a8b76bf3ae (diff) | |
download | perl-c2fcde81f9cb1a632422e27a9e967bc087d75ae7.tar.gz |
This is probably a wrong fix for
[perl #23645] tell with perlio on appended files
but maybe this gets NI-S agitated enough to present the correct fix :-)
p4raw-id: //depot/perl@20956
Diffstat (limited to 't')
-rwxr-xr-x | t/io/tell.t | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/t/io/tell.t b/t/io/tell.t index fa5690d4b3..fa9d809f1f 100755 --- a/t/io/tell.t +++ b/t/io/tell.t @@ -7,7 +7,7 @@ BEGIN { @INC = '../lib'; } -print "1..27\n"; +print "1..28\n"; $TST = 'tst'; @@ -143,4 +143,12 @@ if (tell($tst) == 15 || close($tst); +open($tst,">$written") || die "Cannot open $written:$!"; +print $tst "foobar"; +close $tst; +open($tst,">>$written") || die "Cannot open $written:$!"; + +if (tell($tst) == 6) +{ print "ok 28\n"; } else { print "not ok 28\n"; } +close $tst; |