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.4 by root, Wed Apr 16 16:45:18 2008 UTC vs.
Revision 1.5 by root, Sun Jul 17 04:20:04 2011 UTC

53 53
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 _;
59 $stat[0] = $pwd[0]; # dev
60 $stat[6] = $pwd[6]; # rdev
58 print +(join ":", @pwd) eq (join ":", stat _) ? "ok" : "not ok", " 9\n"; 61 print +(join ":", @pwd) eq (join ":", @stat) ? "ok" : "not ok", " 9\n";
59}; 62};
60 63
61pcb; 64pcb;
62 65
63aio_close *PWD, sub { 66aio_close *PWD, sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines