X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=installcheck%2Famadmin.pl;fp=installcheck%2Famadmin.pl;h=657c460535054ebe4bba05832f8028d577ee4918;hb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;hp=38681174096643c454ba26532ea1f025d9a08522;hpb=c6f0a88c567f8536c498f554285aed1f8150da18;p=debian%2Famanda diff --git a/installcheck/amadmin.pl b/installcheck/amadmin.pl index 3868117..657c460 100644 --- a/installcheck/amadmin.pl +++ b/installcheck/amadmin.pl @@ -1,4 +1,4 @@ -# Copyright (c) 2009, 2010 Zmanda, Inc. All Rights Reserved. +# Copyright (c) 2009-2012 Zmanda, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 as published @@ -16,7 +16,7 @@ # Contact information: Zmanda Inc, 465 S Mathilda Ave, Suite 300 # Sunnyvale, CA 94086, USA, or: http://www.zmanda.com -use Test::More tests => 17; +use Test::More tests => 18; use strict; use warnings; @@ -120,3 +120,7 @@ amadmin: localhost:\\\\windows\\share-b is set to a forced level 0 at next run.$ like(run_get('amadmin TESTCONF force localhost share-a share-a'), qr/^amadmin: localhost:\\\\windows\\share-a is set to a forced level 0 at next run.$/, "shell 13"); + +like(run_get('amadmin TESTCONF balance --days 12'), + qr/No data to report on yet.$/, + "shell 13");