/[webpac2]/trunk/t/1-path.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

Contents of /trunk/t/1-path.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1202 - (show annotations)
Fri May 29 18:15:57 2009 UTC (14 years, 11 months ago) by dpavlin
File MIME type: application/x-troff
File size: 322 byte(s)
 r1890@llin:  dpavlin | 2009-05-29 20:09:47 +0200
 WebPAC::Path provides mk_base_path helper function

1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5
6 use Test::More tests => 5;
7
8 use lib 'lib';
9
10 BEGIN {
11 use_ok( 'WebPAC::Path' );
12 }
13
14 my $path = '/tmp/webpac-test-$$/file';
15
16 ok( mk_base_path( $path ), 'mk_base_path' );
17 ok( open(my $fh, '>', $path), "create $path" );
18 ok( -e $path, "exists $path" );
19 ok( unlink($path), 'unlink' );

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26