--- t/ldap-rewrite.pl 2010/02/22 22:44:56 71 +++ t/ldap-rewrite.pl 2010/02/22 23:20:44 72 @@ -11,7 +11,7 @@ } our $config; -ok( require "t/config.pl", 'config.pl' ); +ok( require( ( shift @ARGV || 't/config.pl' ) ), 'config.pl' ); sub ldap_check_error { my $o = shift;