pf-tools/pf-tools: No need to skip the tests : libtest-simple-pe...
parmelan-guest at users.alioth.debian.org
parmelan-guest at users.alioth.debian.org
Mon Mar 7 16:19:12 UTC 2011
details: http://hg.debian.org/hg/pf-tools/pf-tools/rev/c2a3bab3aa84
changeset: 1172:c2a3bab3aa84
user: "Christophe Caillet <quadchris at free.fr>"
date: Mon Mar 07 17:18:58 2011 +0100
description:
No need to skip the tests : libtest-simple-perl MUST BE installed
diffstat:
0 files changed
diffs (28 lines):
diff -r ab601c4cd57f -r c2a3bab3aa84 t/13.conf.t
--- a/t/13.conf.t Thu Mar 03 15:01:03 2011 +0100
+++ b/t/13.conf.t Mon Mar 07 17:18:58 2011 +0100
@@ -1694,7 +1694,7 @@
# http://rt.perl.org/rt3/Public/Bug/Display.html?id=52610
SKIP: {
- skip q{Perl bug #52610}, 6; # only if Test::Exception < 0.31 ?
+ skip q{Perl bug #52610}, 2; # only if Test::Exception < 0.31 ?
throws_ok { get_site_dhcp_config() }
qr{ \A ERROR: [ ] Invalid [ ] site_name }xms
@@ -1703,6 +1703,7 @@
throws_ok { get_site_dhcp_config( q{} ) }
qr{ \A ERROR: [ ] Invalid [ ] site_name }xms
=> q{Dies if empty site_name};
+}
throws_ok { get_site_dhcp_config( {} ) }
qr{ \A ERROR: [ ] Invalid [ ] site_name }xms
@@ -1719,7 +1720,6 @@
throws_ok { get_site_dhcp_config( q{site_name}, $global_config ) }
qr{ \A ERROR: [ ] Unknown [ ] site [ ] }xms
=> q{Dies if unknown site_name};
-}
$result = get_site_dhcp_config( q{cbv4}, $global_config );
More information about the pf-tools-commits
mailing list