Michael G. Schwern [Tue, 18 Sep 2001 18:47:14 +0000 (14:47 -0400)]
Message-Id: <
20010918184714.I585@blackrider>
p4raw-id: //depot/perl@12076
-use Test::More tests => 2;
+#!./perl -Tw
+
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = ('../lib');
+}
+
use Config;
+BEGIN {
+ require Test::More;
+
+ if( !$Config{d_crypt} ) {
+ Test::More->import('skip_all');
+ }
+ else {
+ Test::More->import(tests => 2);
+ }
+}
+
# Can't assume too much about the string returned by crypt(),
# and about how many bytes of the encrypted (really, hashed)
# string matter.