Fix up .gitignore files some more
[p5sagit/p5-mst-13.2.git] / ext / Storable / t / store.t
index 08be4c6..fc2141c 100644 (file)
@@ -1,29 +1,24 @@
 #!./perl
-
-# $Id: store.t,v 1.0 2000/09/01 19:40:42 ram Exp $
 #
 #  Copyright (c) 1995-2000, Raphael Manfredi
 #  
 #  You may redistribute only under the same terms as Perl 5, as specified
 #  in the README file that comes with the distribution.
 #
-# $Log: store.t,v $
-# Revision 1.0  2000/09/01 19:40:42  ram
-# Baseline for first official release.
-#
 
 sub BEGIN {
     if ($ENV{PERL_CORE}){
        chdir('t') if -d 't';
-       @INC = '.'; 
-       push @INC, '../lib';
+       @INC = ('.', '../lib', '../ext/Storable/t');
+    } else {
+       unshift @INC, 't';
     }
     require Config; import Config;
     if ($ENV{PERL_CORE} and $Config{'extensions'} !~ /\bStorable\b/) {
         print "1..0 # Skip: Storable was not built\n";
         exit 0;
     }
-    require 'lib/st-dump.pl';
+    require 'st-dump.pl';
 }
 
 use Storable qw(store retrieve store_fd nstore_fd fd_retrieve);
@@ -117,5 +112,3 @@ print "ok 20\n";
 
 close OUT or die "Could not close: $!";
 END { 1 while unlink 'store' }
-
-