ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/t/01_stat.t
(Generate patch)

Comparing IO-AIO/t/01_stat.t (file contents):
Revision 1.6 by root, Sun Jul 17 17:30:15 2011 UTC vs.
Revision 1.7 by root, Sat Jan 7 18:42:43 2012 UTC

54print open (PWD, "<&" . fileno $pwd) ? "ok" : "not ok", " 7\n"; 54print open (PWD, "<&" . fileno $pwd) ? "ok" : "not ok", " 7\n";
55 55
56aio_stat *PWD, sub { 56aio_stat *PWD, sub {
57 print -f _ ? "ok" : "not ok", " 8\n"; 57 print -f _ ? "ok" : "not ok", " 8\n";
58 my @stat = stat _; 58 my @stat = stat _;
59 $stat[0] = $pwd[0]; # dev 59 $stat[0] = $pwd[0]; # dev unreliable on windows
60 $stat[6] = $pwd[6]; # rdev 60 $stat[6] = $pwd[6]; # rdev unreliable on windows
61 $stat[8] = $pwd[8]; # atime unreliable on windows
61 print +(join ":", @pwd) eq (join ":", @stat) ? "ok" : "not ok", " 9\n"; 62 print +(join ":", @pwd) eq (join ":", @stat) ? "ok" : "not ok", " 9 # @pwd == @stat\n";
62}; 63};
63 64
64pcb; 65pcb;
65 66
66aio_close *PWD, sub { 67aio_close *PWD, sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines