Changeset 13203 for trunk/Nebulous/t/63_client_stat.t
- Timestamp:
- May 3, 2007, 12:10:14 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/63_client_stat.t (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/63_client_stat.t
r13092 r13203 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 63_client_stat.t,v 1. 2 2007-05-01 02:52:04 jhoblitt Exp $5 # $Id: 63_client_stat.t,v 1.3 2007-05-03 22:10:14 jhoblitt Exp $ 6 6 7 7 use strict; … … 10 10 use Apache::Test qw( -withtestmore ); 11 11 12 plan tests => 1 1;12 plan tests => 12; 13 13 14 14 use lib qw( ./t ./lib ); … … 30 30 my $info = $neb->stat( "foo" ); 31 31 32 is( scalar @$info, 6, "number of columns" );32 is( scalar @$info, 7, "number of columns" ); 33 33 } 34 34 … … 43 43 my $info = $neb->stat( "foo" ); 44 44 45 is( scalar @$info, 6, "number of columns" );45 is( scalar @$info, 7, "number of columns" ); 46 46 is( @$info[0], 1, "so_id" ); 47 47 is( @$info[1], "foo", "ext_id" ); … … 50 50 like( @$info[4], qr/....-..-.. ..:..:../, "epoch" ); 51 51 like( @$info[5], qr/....-..-.. ..:..:../, "mtime" ); 52 is( @$info[6], 1, "instances" ); 52 53 } 53 54
Note:
See TracChangeset
for help on using the changeset viewer.
