/[fuse.before_github]/perl/trunk/test/unlink.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /perl/trunk/test/unlink.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (hide annotations)
Tue Jan 3 16:45:51 2006 UTC (17 years, 1 month ago) by dpavlin
File MIME type: application/x-troff
File size: 324 byte(s)
subversion revision 71 commited to CVS

1 mszeredi 4 #!/usr/bin/perl
2     use test::helper qw($_real $_point);
3     use Test::More;
4     plan tests => 4;
5     chdir($_point);
6     system("touch file");
7     ok(-f "file","file exists");
8     chdir($_real);
9     ok(-f "file","file really exists");
10     chdir($_point);
11     unlink("file");
12     ok(! -f "file","file unlinked");
13     chdir($_real);
14     ok(! -f "file","file really unlinked");

  ViewVC Help
Powered by ViewVC 1.1.26