diff --git a/t/slubsipbuilderbagit.t b/t/slubsipbuilderbagit.t index 269398b53f7ff6f8cfb51c3cae09bd3eb556b46a..e95b03da04afe37dfb01791376c16dce687346d3 100644 --- a/t/slubsipbuilderbagit.t +++ b/t/slubsipbuilderbagit.t @@ -1,6 +1,6 @@ #!/usr/bin/perl -w #=============================================================================== -# Copyright (C) 2020 +# Copyright (C) 2020-2021 # AUTHORS: Serhiy Bolkun (Serhiy.Bolkun@slub-dresden.de) # Andreas Romeyke (Andreas.Romeyke@slub-dresden.de) # Jens Steidl (Jens.Steidl@slub-dresden.de) @@ -24,7 +24,7 @@ use strict; use warnings; use diagnostics; -use Test::More tests => 116; +use Test::More tests => 98; use Test::Output; use Test::Exception; use Test::Differences; @@ -280,6 +280,7 @@ workaroundTagmanifest($bag_output_path . '/tagmanifest-sha512.txt', 'xxxxxxxxxxx # equalFilesByIgnoring() our testroutine to check paths cmpFilesByIgnoringCRLF_LF($bag_output_path . '/data/00000001.tif', $valid_bag_path . '/data/00000001.tif', "create_slub_bagit() $bag: validate data/00000001.tif"); cmpFilesByIgnoringCRLF_LF($bag_output_path . '/meta/marc21.xml', $valid_bag_path . '/meta/marc21.xml', "create_slub_bagit() $bag: validate meta/marc21.xml"); + cmpFilesByIgnoringCRLF_LF($bag_output_path . '/meta/rights.xml', $valid_bag_path . '/meta/rights.xml', "create_slub_bagit() $bag: validate meta/rights.xml"); cmpFilesByIgnoringCRLF_LF($bag_output_path . '/bag-info.txt', $valid_bag_path . '/bag-info.txt', "create_slub_bagit() $bag: validate bag-info.txt"); # workaround cmpFilesByIgnoringCRLF_LF($bag_output_path . '/bagit.txt', $valid_bag_path . '/bagit.txt', "create_slub_bagit() $bag: validate bagit.txt"); @@ -287,6 +288,7 @@ cmpFilesByIgnoringCRLF_LF($bag_output_path . '/manifest-md5.txt', $valid_bag_pat cmpFilesByIgnoringCRLF_LF($bag_output_path . '/manifest-sha512.txt', $valid_bag_path . '/manifest-sha512.txt', "create_slub_bagit() $bag: manifest-sha512.txt"); cmpFilesByIgnoringCRLF_LF($bag_output_path . '/tagmanifest-md5.txt', $valid_bag_path . '/tagmanifest-md5.txt', "create_slub_bagit() $bag: tagmanifest-md5.txt"); # workaround cmpFilesByIgnoringCRLF_LF($bag_output_path . '/tagmanifest-sha512.txt', $valid_bag_path . '/tagmanifest-sha512.txt', "create_slub_bagit() $bag: tagmanifest-sha512.txt"); # workaround + # $ie = 'test2'; $bag = 'test2_bag';