2 use test::helper qw($_point $_real);
6 ok(symlink("abc","def"),"symlink created");
7 ok(-l "def","symlink exists");
8 is(readlink("def"),"abc","it worked");
10 ok(-l "def","symlink really exists");
11 is(readlink("def"),"abc","really worked");
14 # bug: doing a 'cp -a' on a directory which contains a symlink
17 system("cd dira; touch filea; ln -s filea fileb");
19 if ($^O eq 'netbsd') { $cp = 'cp -R'; }
20 is(system($cp . " dira dirb")>>8,0,$cp);
21 system("rm -rf dira dirb");