IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13045


Ignore:
Timestamp:
Apr 26, 2007, 12:27:13 PM (19 years ago)
Author:
jhoblitt
Message:

s/NEBULOUS_SERVER/NEB_SERVER/

Location:
trunk/Nebulous
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/tests/tests.c

    r12965 r13045  
    1818    plan_tests(22);
    1919
    20     if (getenv("NEBULOUS_SERVER")) {
    21         server = nebServerAlloc(getenv("NEBULOUS_SERVER"));
     20    if (getenv("NEB_SERVER")) {
     21        server = nebServerAlloc(getenv("NEB_SERVER"));
    2222    } else {
    2323        server = nebServerAlloc(NULL);
  • trunk/Nebulous/t/90_nebclient.t

    r5667 r13045  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 90_nebclient.t,v 1.1 2005-12-03 02:52:31 jhoblitt Exp $
     5# $Id: 90_nebclient.t,v 1.2 2007-04-26 22:27:13 jhoblitt Exp $
    66
    77use strict;
     
    1818Test::Nebulous->setup;
    1919
    20 $ENV{'NEBULOUS_SERVER'} = "http://" . Apache::Test->config->{ 'hostport' } . "/nebulous";
     20$ENV{'NEB_SERVER'} = "http://" . Apache::Test->config->{ 'hostport' } . "/nebulous";
    2121
    2222chdir "./nebclient";
  • trunk/Nebulous/t/Test/Nebulous.pm

    r12960 r13045  
    11# Copyright (C) 2004  Joshua Hoblitt
    22#
    3 # $Id: Nebulous.pm,v 1.9 2007-04-23 20:42:29 jhoblitt Exp $
     3# $Id: Nebulous.pm,v 1.10 2007-04-26 22:27:13 jhoblitt Exp $
    44
    55package Test::Nebulous;
     
    3737
    3838    # 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);
    4040    $dbh->do(qq{ INSERT INTO mount VALUES (?, 10e10, 10e7) }, undef, $dir1);
    4141
     
    4343    $dbh->do(qq{ INSERT INTO mount VALUES (?, 10e10, 10e10) }, undef, $dir2);
    4444
    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") });
    4647    $dbh->do(qq{ INSERT INTO class VALUES (1, 1, "special data") });
    4748}
Note: See TracChangeset for help on using the changeset viewer.