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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 268 - (hide annotations)
Wed Aug 19 17:01:57 2009 UTC (14 years, 9 months ago) by dpavlin
File MIME type: application/x-troff
File size: 417 byte(s)
semi-working nfsroot configuration

1 dpavlin 74 #!/usr/bin/perl
2    
3     use warnings;
4     use strict;
5     use autodie;
6    
7 dpavlin 268 use Test::More tests => 4;
8 dpavlin 74 use Data::Dump qw/dump/;
9    
10     use_ok 'config';
11    
12 dpavlin 142 sub test {
13     my $name = shift;
14 dpavlin 234 my $eval = qq|config::$name( "172.0.0.1" );|;
15     diag "eval $eval";
16     my $config = eval $eval;
17     die $@ if $@;
18     return $config;
19 dpavlin 142 }
20 dpavlin 74
21 dpavlin 268 foreach my $name ( 'webconverger', 'debian_live', 'nfsroot' ) {
22 dpavlin 234 ok( my $config = test($name), $name );
23     diag "config", $config;
24     }

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26