blob: 85b9ffc77da2e0f59d2803aa1bcf716f6256fc80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/perl
use test::helper qw($_point $_real);
use Test::More;
plan tests => 4;
chdir($_real);
ok(symlink("abc","def"),"OS supports symlinks");
is(readlink("def"),"abc","OS supports symlinks");
chdir($_point);
ok(-l "def","symlink exists");
is(readlink("def"),"abc","readlink");
unlink("def");
|