Changeset 16281
- Timestamp:
- Feb 1, 2008, 3:51:29 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 29 edited
-
Nebulous-Server/t/02_server_setup.t (modified) (2 diffs)
-
Nebulous-Server/t/03_server_create_object.t (modified) (2 diffs)
-
Nebulous-Server/t/04_server_replicate_object.t (modified) (2 diffs)
-
Nebulous-Server/t/05_server_lock_object.t (modified) (2 diffs)
-
Nebulous-Server/t/06_server_unlock_object.t (modified) (2 diffs)
-
Nebulous-Server/t/07_server_find_instances.t (modified) (2 diffs)
-
Nebulous-Server/t/08_server_delete_instance.t (modified) (2 diffs)
-
Nebulous-Server/t/09_server_stat_object.t (modified) (2 diffs)
-
Nebulous-Server/t/10_server_is_valid_volume_name.t (modified) (2 diffs)
-
Nebulous-Server/t/11_server_is_valid_object_key.t (modified) (2 diffs)
-
Nebulous-Server/t/12_server_find_objects.t (modified) (2 diffs)
-
Nebulous-Server/t/13_server_rename_object.t (modified) (2 diffs)
-
Nebulous-Server/t/14_server_xattr.t (modified) (2 diffs)
-
Nebulous/t/02_server_setup.t (modified) (2 diffs)
-
Nebulous/t/03_server_create_object.t (modified) (2 diffs)
-
Nebulous/t/04_server_replicate_object.t (modified) (2 diffs)
-
Nebulous/t/05_server_lock_object.t (modified) (2 diffs)
-
Nebulous/t/06_server_unlock_object.t (modified) (2 diffs)
-
Nebulous/t/07_server_find_instances.t (modified) (2 diffs)
-
Nebulous/t/08_server_delete_instance.t (modified) (2 diffs)
-
Nebulous/t/09_server_stat_object.t (modified) (2 diffs)
-
Nebulous/t/10_server_is_valid_volume_name.t (modified) (2 diffs)
-
Nebulous/t/11_server_is_valid_object_key.t (modified) (2 diffs)
-
Nebulous/t/12_server_find_objects.t (modified) (2 diffs)
-
Nebulous/t/13_server_rename_object.t (modified) (2 diffs)
-
Nebulous/t/14_server_xattr.t (modified) (2 diffs)
-
Nebulous/t/51_client_create.t (modified) (3 diffs)
-
Nebulous/t/Test/Nebulous.pm (modified) (2 diffs)
-
Nebulous/t/conf/startup.pl.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/02_server_setup.t
r10546 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 02_server_setup.t,v 1. 5 2006-12-08 03:29:19 jhoblitt Exp $5 # $Id: 02_server_setup.t,v 1.6 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 19 19 isa_ok( 20 20 Nebulous::Server->new( 21 dsn => "DBI:mysql:database=test:host=localhost",22 dbuser => "test",23 dbpasswd => "",21 dsn => $NEB_DB, 22 dbuser => $NEB_USER, 23 dbpasswd => $NEB_PASS, 24 24 ), 25 25 "Nebulous::Server" -
trunk/Nebulous-Server/t/03_server_create_object.t
r16265 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.2 3 2008-01-31 02:26:33jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.24 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 22 22 23 23 my $neb = Nebulous::Server->new( 24 dsn => "DBI:mysql:database=test:host=localhost",25 dbuser => "test",26 dbpasswd => "",24 dsn => $NEB_DB, 25 dbuser => $NEB_USER, 26 dbpasswd => $NEB_PASS, 27 27 ); 28 28 -
trunk/Nebulous-Server/t/04_server_replicate_object.t
r13302 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 04_server_replicate_object.t,v 1.1 0 2007-05-08 02:27:42jhoblitt Exp $5 # $Id: 04_server_replicate_object.t,v 1.11 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 22 22 23 23 my $neb = Nebulous::Server->new( 24 dsn => "DBI:mysql:database=test:host=localhost",25 dbuser => "test",26 dbpasswd => "",24 dsn => $NEB_DB, 25 dbuser => $NEB_USER, 26 dbpasswd => $NEB_PASS, 27 27 ); 28 28 -
trunk/Nebulous-Server/t/05_server_lock_object.t
r13203 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 05_server_lock_object.t,v 1. 8 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 05_server_lock_object.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/06_server_unlock_object.t
r13203 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 06_server_unlock_object.t,v 1. 8 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 06_server_unlock_object.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/07_server_find_instances.t
r13173 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 07_server_find_instances.t,v 1. 8 2007-05-03 01:44:24jhoblitt Exp $5 # $Id: 07_server_find_instances.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 18 18 19 19 my $neb = Nebulous::Server->new( 20 dsn => "DBI:mysql:database=test:host=localhost",21 dbuser => "test",22 dbpasswd => "",20 dsn => $NEB_DB, 21 dbuser => $NEB_USER, 22 dbpasswd => $NEB_PASS, 23 23 ); 24 24 -
trunk/Nebulous-Server/t/08_server_delete_instance.t
r13173 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 08_server_delete_instance.t,v 1. 8 2007-05-03 01:44:24jhoblitt Exp $5 # $Id: 08_server_delete_instance.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/09_server_stat_object.t
r13180 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 09_server_stat_object.t,v 1.1 1 2007-05-03 03:21:28jhoblitt Exp $5 # $Id: 09_server_stat_object.t,v 1.12 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/10_server_is_valid_volume_name.t
r12646 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 10_server_is_valid_volume_name.t,v 1. 3 2007-03-28 22:02:11jhoblitt Exp $5 # $Id: 10_server_is_valid_volume_name.t,v 1.4 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/11_server_is_valid_object_key.t
r13173 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 11_server_is_valid_object_key.t,v 1. 1 2007-05-03 01:44:24jhoblitt Exp $5 # $Id: 11_server_is_valid_object_key.t,v 1.2 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/12_server_find_objects.t
r13047 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 12_server_find_objects.t,v 1. 1 2007-04-26 23:45:03jhoblitt Exp $5 # $Id: 12_server_find_objects.t,v 1.2 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/13_server_rename_object.t
r13203 r16281 3 3 # Copryight (C) 2007 Joshua Hoblitt 4 4 # 5 # $Id: 13_server_rename_object.t,v 1. 2 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 13_server_rename_object.t,v 1.3 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous-Server/t/14_server_xattr.t
r13203 r16281 3 3 # Copryight (C) 2007 Joshua Hoblitt 4 4 # 5 # $Id: 14_server_xattr.t,v 1. 2 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 14_server_xattr.t,v 1.3 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/02_server_setup.t
r10546 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 02_server_setup.t,v 1. 5 2006-12-08 03:29:19 jhoblitt Exp $5 # $Id: 02_server_setup.t,v 1.6 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 19 19 isa_ok( 20 20 Nebulous::Server->new( 21 dsn => "DBI:mysql:database=test:host=localhost",22 dbuser => "test",23 dbpasswd => "",21 dsn => $NEB_DB, 22 dbuser => $NEB_USER, 23 dbpasswd => $NEB_PASS, 24 24 ), 25 25 "Nebulous::Server" -
trunk/Nebulous/t/03_server_create_object.t
r16265 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.2 3 2008-01-31 02:26:33jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.24 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 22 22 23 23 my $neb = Nebulous::Server->new( 24 dsn => "DBI:mysql:database=test:host=localhost",25 dbuser => "test",26 dbpasswd => "",24 dsn => $NEB_DB, 25 dbuser => $NEB_USER, 26 dbpasswd => $NEB_PASS, 27 27 ); 28 28 -
trunk/Nebulous/t/04_server_replicate_object.t
r13302 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 04_server_replicate_object.t,v 1.1 0 2007-05-08 02:27:42jhoblitt Exp $5 # $Id: 04_server_replicate_object.t,v 1.11 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 22 22 23 23 my $neb = Nebulous::Server->new( 24 dsn => "DBI:mysql:database=test:host=localhost",25 dbuser => "test",26 dbpasswd => "",24 dsn => $NEB_DB, 25 dbuser => $NEB_USER, 26 dbpasswd => $NEB_PASS, 27 27 ); 28 28 -
trunk/Nebulous/t/05_server_lock_object.t
r13203 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 05_server_lock_object.t,v 1. 8 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 05_server_lock_object.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/06_server_unlock_object.t
r13203 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 06_server_unlock_object.t,v 1. 8 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 06_server_unlock_object.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/07_server_find_instances.t
r13173 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 07_server_find_instances.t,v 1. 8 2007-05-03 01:44:24jhoblitt Exp $5 # $Id: 07_server_find_instances.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 18 18 19 19 my $neb = Nebulous::Server->new( 20 dsn => "DBI:mysql:database=test:host=localhost",21 dbuser => "test",22 dbpasswd => "",20 dsn => $NEB_DB, 21 dbuser => $NEB_USER, 22 dbpasswd => $NEB_PASS, 23 23 ); 24 24 -
trunk/Nebulous/t/08_server_delete_instance.t
r13173 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 08_server_delete_instance.t,v 1. 8 2007-05-03 01:44:24jhoblitt Exp $5 # $Id: 08_server_delete_instance.t,v 1.9 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/09_server_stat_object.t
r13180 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 09_server_stat_object.t,v 1.1 1 2007-05-03 03:21:28jhoblitt Exp $5 # $Id: 09_server_stat_object.t,v 1.12 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/10_server_is_valid_volume_name.t
r12646 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 10_server_is_valid_volume_name.t,v 1. 3 2007-03-28 22:02:11jhoblitt Exp $5 # $Id: 10_server_is_valid_volume_name.t,v 1.4 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/11_server_is_valid_object_key.t
r13173 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 11_server_is_valid_object_key.t,v 1. 1 2007-05-03 01:44:24jhoblitt Exp $5 # $Id: 11_server_is_valid_object_key.t,v 1.2 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/12_server_find_objects.t
r13047 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 12_server_find_objects.t,v 1. 1 2007-04-26 23:45:03jhoblitt Exp $5 # $Id: 12_server_find_objects.t,v 1.2 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/13_server_rename_object.t
r13203 r16281 3 3 # Copryight (C) 2007 Joshua Hoblitt 4 4 # 5 # $Id: 13_server_rename_object.t,v 1. 2 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 13_server_rename_object.t,v 1.3 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/14_server_xattr.t
r13203 r16281 3 3 # Copryight (C) 2007 Joshua Hoblitt 4 4 # 5 # $Id: 14_server_xattr.t,v 1. 2 2007-05-03 22:10:14jhoblitt Exp $5 # $Id: 14_server_xattr.t,v 1.3 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 17 17 18 18 my $neb = Nebulous::Server->new( 19 dsn => "DBI:mysql:database=test:host=localhost",20 dbuser => "test",21 dbpasswd => "",19 dsn => $NEB_DB, 20 dbuser => $NEB_USER, 21 dbpasswd => $NEB_PASS, 22 22 ); 23 23 -
trunk/Nebulous/t/51_client_create.t
r13092 r16281 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 51_client_create.t,v 1. 3 2007-05-01 02:52:04jhoblitt Exp $5 # $Id: 51_client_create.t,v 1.4 2008-02-02 01:51:29 jhoblitt Exp $ 6 6 7 7 use strict; … … 14 14 use lib qw( ./t ./lib ); 15 15 16 #use Nebulous::Client trace => 'debug';17 use Nebulous::Client;16 use Nebulous::Client trace => 'debug'; 17 #use Nebulous::Client; 18 18 use Test::Nebulous; 19 19 use Test::URI; … … 31 31 32 32 my $uri = $neb->create("foo"); 33 34 33 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 35 34 ok(-e $path, "good filename"); -
trunk/Nebulous/t/Test/Nebulous.pm
r13251 r16281 1 1 # Copyright (C) 2004 Joshua Hoblitt 2 2 # 3 # $Id: Nebulous.pm,v 1.1 5 2007-05-04 23:36:46jhoblitt Exp $3 # $Id: Nebulous.pm,v 1.16 2008-02-02 01:51:29 jhoblitt Exp $ 4 4 5 5 package Test::Nebulous; 6 6 7 7 use strict; 8 9 our $VERSION = '0.01'; 10 11 use base qw( Exporter ); 8 12 9 13 use DBI; … … 12 16 use Nebulous::Server::SQL; 13 17 14 my $dsn = "DBI:mysql:database=test:host=localhost"; 15 my $user = "test"; 16 my $passwd = ""; 18 our @EXPORT = qw( $NEB_DB $NEB_USER $NEB_PASS ); 17 19 18 my $dbh = DBI->connect( $dsn, $user, $passwd ); 20 our $NEB_DB = "DBI:mysql:database=nebulous:host=localhost"; 21 our $NEB_USER = "nebulous"; 22 our $NEB_PASS = '@neb@'; 23 24 my $dbh = DBI->connect( $NEB_DB, $NEB_USER, $NEB_PASS ); 19 25 my $sql = Nebulous::Server::SQL->new; 20 26 -
trunk/Nebulous/t/conf/startup.pl.in
r10581 r16281 3 3 4 4 use lib qw( @ServerRoot@/../lib ); 5 use lib qw( @ServerRoot@ ); 5 6 6 7 use Apache::DBI; … … 9 10 use Nebulous::Server::Apache; 10 11 use Nebulous::Server; 12 use Test::Nebulous; 11 13 12 my $dsn = "DBI:mysql:database=test:host=localhost"; 13 my $dbuser = "test"; 14 my $dbpasswd = ""; 15 16 Apache::DBI->connect_on_init( $dsn, $dbuser, $dbpasswd ); 14 Apache::DBI->connect_on_init( $NEB_DB, $NEB_USER, $NEB_PASS ); 17 15 Nebulous::Server::SOAP->new_on_init( 18 dsn => $ dsn,19 dbuser => $ dbuser,20 dbpasswd => $ dbpasswd,16 dsn => $NEB_DB, 17 dbuser => $NEB_USER, 18 dbpasswd => $NEB_PASS, 21 19 log_level => 'all', 22 20 );
Note:
See TracChangeset
for help on using the changeset viewer.
