pf-tools/pf-tools: test adaptation

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Mon May 12 10:49:57 UTC 2014


details:   http://hg.debian.org/hg/pf-tools/pf-tools/rev/64b55e4037e6
changeset: 1280:64b55e4037e6
user:      shad
date:      Mon May 12 12:49:52 2014 +0200
description:
test adaptation

diffstat:

 t/20.files.t |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 49076f57da68 -r 64b55e4037e6 t/20.files.t
--- a/t/20.files.t	Fri Apr 25 18:06:25 2014 +0200
+++ b/t/20.files.t	Mon May 12 12:49:52 2014 +0200
@@ -924,7 +924,7 @@
 \tappend DEBCONF_PRIORITY=critical vga=normal auto=true initrd=debian-installer/lenny/amd64/initrd.gz interface=eth0 netcfg/no_default_route=true url=http://vip-deploy.vlan-systeme.private/preseed_cbv4-rdeploy01 url/checksum=e09982b86a653dd4602033e14255f6a7 -- default pci=bfsort
 
 LABEL linux
-\tkernel vmlinuz-2.6.26.5-universal-grm2.1.12
+\tkernel amd64/vmlinuz-2.6.26.5-universal-grm2.1.12
 \tappend vga=normal root=/dev/sda2 -- default pci=bfsort
 
 PROMPT 1
@@ -1086,12 +1086,14 @@
 note('Testing PFTools::Utils::__build_dhcpd_conf');
 can_ok( 'PFTools::Utils', qw( PFTools::Utils::__build_dhcpd_conf ) );
 
+my $header_filename = q{templates/dhcpd.conf.head.tpl};
 $template_filename = q{templates/dhcpd.conf.tpl};
 $output_filename = q{/tmp/test.dhcpd.conf};
 $site_name = q{foo-site};
 $args_ref = {
     site_name         => $site_name,
     template_filename => $template_filename,
+    header_filename   => $header_filename,
     global_config     => $global_config,
 };
 
@@ -1149,6 +1151,7 @@
 $args_ref = {
     site_name         => q{bar_site},
     template_filename => $template_filename,
+    header_filename   => $header_filename,
     global_config     => $global_config,
     filename          => $output_filename,
 };



More information about the pf-tools-commits mailing list