Ticket #465: pmc-os-hardlink.patch
File pmc-os-hardlink.patch, 510 bytes (added by doughera, 13 years ago) |
---|
-
t/pmc/os.t
old new 377 378 $P1 = new ['OS'] 378 379 379 380 $S1 = "xpto" 380 $S2 = " MANIFEST"381 $S2 = "myconfig" 381 382 $P1."link"($S2, $S1) 382 383 383 384 print "ok\n" … … 388 389 ok 389 390 OUT 390 391 391 my $nl = [ stat(" MANIFEST") ]->[3];392 my $nl = [ stat("myconfig") ]->[3]; 392 393 ok( $nl > 1, "hard link to file was really created" ); 393 394 unlink "xpto" if -f "xpto"; 394 395 }