2006-12-18 12:32:33 +01:00
|
|
|
# Before `make install' is performed this script should be runnable with
|
|
|
|
# `make test'. After `make install' it should work as `perl Lemonldap-NG-Manager.t'
|
|
|
|
|
|
|
|
#########################
|
|
|
|
|
|
|
|
# change 'tests => 1' to 'tests => last_test_to_print';
|
|
|
|
|
2009-12-11 19:17:00 +01:00
|
|
|
use Test::More tests => 1;
|
2009-02-22 13:10:49 +01:00
|
|
|
use IO::String;
|
2009-02-24 09:03:37 +01:00
|
|
|
use strict;
|
2007-04-10 07:15:26 +02:00
|
|
|
BEGIN { use_ok('Lemonldap::NG::Manager') }
|
2006-12-18 12:32:33 +01:00
|
|
|
|
|
|
|
#########################
|
|
|
|
|
|
|
|
# Insert your test code below, the Test::More module is use()ed here so read
|
|
|
|
# its man page ( perldoc Test::More ) for help writing this test script.
|
|
|
|
|
2009-02-22 13:10:49 +01:00
|
|
|
$ENV{SCRIPT_NAME} = "__SCRIPTNAME__";
|
|
|
|
$ENV{SCRIPT_FILENAME} = $0;
|
2007-04-10 07:15:26 +02:00
|
|
|
my $h;
|
2009-02-22 13:10:49 +01:00
|
|
|
our $buf;
|
|
|
|
|
|
|
|
tie *STDOUT, 'IO::String', $buf;
|
2009-02-24 09:03:37 +01:00
|
|
|
our $lastpos = 0;
|