diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-09-07 09:12:08 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-09-07 09:12:08 +0000 |
commit | ea9cd4d20f22ebb0a911d94a6a2917a2af66d767 (patch) | |
tree | 9df3e8715d343c7a684944782a250941f0cf7eda | |
parent | 65ded250a99b9cce1e730fd513f81d7205cb5449 (diff) | |
download | perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar.gz perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar.bz2 perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar.xz perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.zip |
Add POD test, remove sole pod fragment in URPM::Build
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | URPM/Build.pm | 7 | ||||
-rw-r--r-- | t/pod.t | 5 |
3 files changed, 8 insertions, 5 deletions
@@ -11,6 +11,7 @@ URPM/Signature.pm t/00prepare.t t/fatal.t t/parse.t +t/pod.t t/rpmdb.t t/synthesis.t ChangeLog diff --git a/URPM/Build.pm b/URPM/Build.pm index ec421f0..924074a 100644 --- a/URPM/Build.pm +++ b/URPM/Build.pm @@ -529,11 +529,8 @@ sub build_base_files { our $MAKEDELTARPM = '/usr/bin/makedeltarpm'; -=item make_delta_rpm($old_rpm_file, $new_rpm_file) - -Creates a delta rpm in the current directory. - -=cut +#- make_delta_rpm($old_rpm_file, $new_rpm_file) +# Creates a delta rpm in the current directory. sub make_delta_rpm ($$) { @_ == 2 or return 0; @@ -0,0 +1,5 @@ +#!perl +use Test::More; +eval "use Test::Pod 1.14"; +plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; +all_pod_files_ok(); |