Changeset 3016 for trunk/Nebulous/t/09_server_stat_object.t
- Timestamp:
- Jan 14, 2005, 6:02:12 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/09_server_stat_object.t (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/09_server_stat_object.t
r2872 r3016 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 09_server_stat_object.t,v 1. 3 2005-01-03 23:55:29jhoblitt Exp $5 # $Id: 09_server_stat_object.t,v 1.4 2005-01-15 04:02:12 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 1 2;10 use Test::More tests => 13; 11 11 12 12 use lib qw( ./t ./lib ); … … 31 31 my $info = $idata->stat_object( "foo" ); 32 32 33 is( scalar @$info, 7, "number of columns" );33 is( scalar @$info, 8, "number of columns" ); 34 34 } 35 35 … … 41 41 my $info = $idata->stat_object( "foo" ); 42 42 43 is( scalar @$info, 7, "number of columns" );43 is( scalar @$info, 8, "number of columns" ); 44 44 is( @$info[0], 1, "so_id" ); 45 45 is( @$info[1], "foo", "ext_id" ); … … 49 49 is( @$info[5], undef, "write lock" ); 50 50 like( @$info[6], qr/....-..-.. ..:..:../, "epoch" ); 51 like( @$info[6], qr/....-..-.. ..:..:../, "mtime" ); 51 52 } 52 53
Note:
See TracChangeset
for help on using the changeset viewer.
