Changeset 13045
- Timestamp:
- Apr 26, 2007, 12:27:13 PM (19 years ago)
- Location:
- trunk/Nebulous
- Files:
-
- 3 edited
-
nebclient/tests/tests.c (modified) (1 diff)
-
t/90_nebclient.t (modified) (2 diffs)
-
t/Test/Nebulous.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/nebclient/tests/tests.c
r12965 r13045 18 18 plan_tests(22); 19 19 20 if (getenv("NEB ULOUS_SERVER")) {21 server = nebServerAlloc(getenv("NEB ULOUS_SERVER"));20 if (getenv("NEB_SERVER")) { 21 server = nebServerAlloc(getenv("NEB_SERVER")); 22 22 } else { 23 23 server = nebServerAlloc(NULL); -
trunk/Nebulous/t/90_nebclient.t
r5667 r13045 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 90_nebclient.t,v 1. 1 2005-12-03 02:52:31jhoblitt Exp $5 # $Id: 90_nebclient.t,v 1.2 2007-04-26 22:27:13 jhoblitt Exp $ 6 6 7 7 use strict; … … 18 18 Test::Nebulous->setup; 19 19 20 $ENV{'NEB ULOUS_SERVER'} = "http://" . Apache::Test->config->{ 'hostport' } . "/nebulous";20 $ENV{'NEB_SERVER'} = "http://" . Apache::Test->config->{ 'hostport' } . "/nebulous"; 21 21 22 22 chdir "./nebclient"; -
trunk/Nebulous/t/Test/Nebulous.pm
r12960 r13045 1 1 # Copyright (C) 2004 Joshua Hoblitt 2 2 # 3 # $Id: Nebulous.pm,v 1. 9 2007-04-23 20:42:29jhoblitt Exp $3 # $Id: Nebulous.pm,v 1.10 2007-04-26 22:27:13 jhoblitt Exp $ 4 4 5 5 package Test::Nebulous; … … 37 37 38 38 # FIXME 39 $dbh->do(qq{ INSERT INTO volume VALUES (1, 'node01',?) }, undef, $dir1);39 $dbh->do(qq{ INSERT INTO volume VALUES (1, 'node01',?) }, undef, $dir1); 40 40 $dbh->do(qq{ INSERT INTO mount VALUES (?, 10e10, 10e7) }, undef, $dir1); 41 41 … … 43 43 $dbh->do(qq{ INSERT INTO mount VALUES (?, 10e10, 10e10) }, undef, $dir2); 44 44 45 $dbh->do(qq{ INSERT INTO class VALUES (0, 0, "regular data") }); 45 # class ID 0 should be setup by default 46 # $dbh->do(qq{ INSERT INTO class VALUES (0, 0, "regular data") }); 46 47 $dbh->do(qq{ INSERT INTO class VALUES (1, 1, "special data") }); 47 48 }
Note:
See TracChangeset
for help on using the changeset viewer.
