--- IO-AIO/t/02_read.t 2005/07/10 18:16:50 1.2 +++ IO-AIO/t/02_read.t 2007/06/03 09:44:17 1.4 @@ -37,10 +37,10 @@ # I found no way to silence the stupid "uninitialized...subroutine entry" warning. # this is just braindamaged. Don't use -w, it introduces more bugs than it fixes. -$aioread = ""; +$aioread = "xxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"; -aio_read $pwd, 7, 15, $aioread, 0, sub { - print +($aioread eq $sysread) ? "ok" : "not ok", " 2\n"; +aio_read $pwd, 7, 15, $aioread, 3, sub { + print +($aioread eq "xxx$sysread") ? "ok" : "not ok", " 2\n"; }; pcb;