changeset 256:5ea9f2d8bd8e

Don't test for the existance of POSIX.pm, as per http://www.perlmonks.org/?node_id=689911
author Steve Kemp <steve@steve.org.uk>
date Tue, 03 Jun 2008 21:48:39 +0100
parents ab61d6b32bef
children 389f234d4111
files tests/modules.sh tests/modules.t
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tests/modules.sh	Sun May 25 15:25:04 2008 +0100
+++ b/tests/modules.sh	Tue Jun 03 21:48:39 2008 +0100
@@ -25,7 +25,7 @@
 EOF
 
 
-for i in `rgrep '^use ' .. | awk '{print $2}' | tr -d 
\;\(\) | sort | uniq`; \
+for i in `rgrep '^use ' .. | grep -v POSIX | awk '{print $2}' | tr -d 
\;\(\) | sort | uniq`; \
     do \
      echo "BEGIN{ use_ok( '$i' ); }"; \
      echo "require_ok( '$i' );" ; \
--- a/tests/modules.t	Sun May 25 15:25:04 2008 +0100
+++ b/tests/modules.t	Tue Jun 03 21:48:39 2008 +0100
@@ -58,10 +58,6 @@
 require_ok( 'Pod::Usage' );
 
 
-BEGIN{ use_ok( 'POSIX' ); }
-require_ok( 'POSIX' );
-
-
 BEGIN{ use_ok( 'strict' ); }
 require_ok( 'strict' );