/[pxelator]/lib/PXElator/t/server.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 /lib/PXElator/t/server.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 270 - (show annotations)
Wed Aug 19 18:10:37 2009 UTC (14 years, 8 months ago) by dpavlin
File MIME type: application/x-troff
File size: 341 byte(s)
added debian_mirror configuration variable with sensible default
(so you can use Apt-Cacher NG to provide local Debian mirror)
execute /tmp/configure.sh script after debootstrap

1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5 use autodie;
6
7 use Test::More tests => 4;
8 use Data::Dump qw/dump/;
9
10 use_ok 'server';
11
12 ok( my $test = server::shared( 'test', 42 ), 'set shared' );
13 diag $test;
14 cmp_ok( $test, '==', server::shared( 'test' ), 'get shared' );
15
16 cmp_ok( $test, '==', server::conf_default( 'test' ), 'get conf_default' );
17

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26