IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 14, 2005, 6:02:12 PM (22 years ago)
Author:
jhoblitt
Message:

update database scheme for mysql 4.1 syntax

Location:
trunk/Nebulous-Server/t
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/09_server_stat_object.t

    r2872 r3016  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 09_server_stat_object.t,v 1.3 2005-01-03 23:55:29 jhoblitt Exp $
     5# $Id: 09_server_stat_object.t,v 1.4 2005-01-15 04:02:12 jhoblitt Exp $
    66
    77use strict;
    88use warnings FATAL => qw( all );
    99
    10 use Test::More tests => 12;
     10use Test::More tests => 13;
    1111
    1212use lib qw( ./t ./lib );
     
    3131    my $info = $idata->stat_object( "foo" );
    3232
    33     is( scalar @$info, 7, "number of columns" );
     33    is( scalar @$info, 8, "number of columns" );
    3434}
    3535
     
    4141    my $info = $idata->stat_object( "foo" );
    4242
    43     is( scalar @$info, 7,                       "number of columns" );
     43    is( scalar @$info, 8,                       "number of columns" );
    4444    is( @$info[0], 1,                           "so_id" );
    4545    is( @$info[1], "foo",                       "ext_id" );
     
    4949    is( @$info[5], undef,                       "write lock" );
    5050    like( @$info[6], qr/....-..-.. ..:..:../,   "epoch" );
     51    like( @$info[6], qr/....-..-.. ..:..:../,   "mtime" );
    5152}
    5253
  • trunk/Nebulous-Server/t/23_client_stat.t

    r2893 r3016  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 23_client_stat.t,v 1.1 2005-01-04 22:02:43 jhoblitt Exp $
     5# $Id: 23_client_stat.t,v 1.2 2005-01-15 04:02:12 jhoblitt Exp $
    66
    77use strict;
     
    1010use Apache::Test qw( -withtestmore );
    1111
    12 plan tests => 12;
     12plan tests => 13;
    1313
    1414use lib qw( ./t ./lib );
     
    3030    my $info = $idata->stat( "foo" );
    3131
    32     is( scalar @$info, 7, "number of columns" );
     32    is( scalar @$info, 8, "number of columns" );
    3333}
    3434
     
    4343    my $info = $idata->stat( "foo" );
    4444
    45     is( scalar @$info, 7,                       "number of columns" );
     45    is( scalar @$info, 8,                       "number of columns" );
    4646    is( @$info[0], 1,                           "so_id" );
    4747    is( @$info[1], "foo",                       "ext_id" );
     
    5151    is( @$info[5], undef,                       "write lock" );
    5252    like( @$info[6], qr/....-..-.. ..:..:../,   "epoch" );
     53    like( @$info[6], qr/....-..-.. ..:..:../,   "mtime" );
    5354}
    5455
Note: See TracChangeset for help on using the changeset viewer.