add bug closure to changelog
[debian/amanda] / installcheck / Amanda_DB_Catalog.pl
index e42cc4fbedaaa26a75d70c693f5a78e0beea0827..4a87c7b8bfe32f3d87240aaf1ee7332b2880811c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2008, 2010 Zmanda, Inc.  All Rights Reserved.
+# Copyright (c) 2008-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
@@ -145,6 +145,7 @@ sub sortparts {
     map {
        # convert bigints to strings and on to integers so is_deeply doesn't get confused
        $_->{'dump'}->{'level'} = "$_->{dump}->{level}" + 0;
+       $_->{'dump'}->{'bytes'} = "$_->{dump}->{bytes}" + 0;
        $_->{'dump'}->{'kb'} = "$_->{dump}->{kb}" + 0;
        $_->{'dump'}->{'orig_kb'} = "$_->{dump}->{orig_kb}" + 0;
        if (!defined $_->{filenum}) {
@@ -238,6 +239,7 @@ sub sortdumps {
     map {
        # convert bigints to strings and on to integers so is_deeply doesn't get confused
        $_->{'level'} = "$_->{level}" + 0;
+       $_->{'bytes'} = "$_->{bytes}" + 0;
        $_->{'kb'} = "$_->{kb}" + 0;
        $_->{'orig_kb'} = "$_->{orig_kb}" + 0;
        $_->{'nparts'} = "$_->{nparts}" + 0;