X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=t%2Fldap-rewrite.pl;h=147a1adc96489ddc97a4fc5c590c87df19bce2c0;hp=e5cc3eb13743712912309d134326a4b2ea1bfe7c;hb=03a98dc31dd065c68f7a097bbf7c947d5dc3d0d3;hpb=3453117170e7835d7e5f1c4c4a8f481a33351bcf diff --git a/t/ldap-rewrite.pl b/t/ldap-rewrite.pl index e5cc3eb..147a1ad 100755 --- a/t/ldap-rewrite.pl +++ b/t/ldap-rewrite.pl @@ -11,7 +11,7 @@ BEGIN { } 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;