diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-11 10:43:36 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-11 10:50:26 +0200 |
commit | b14087d92f6c5d2430f97902e84d7f24027044bc (patch) | |
tree | 60ee874b499ceec9fb3eeaded8fc45084d6ad3ca /t/emi_mandatory.t | |
parent | 5dad5637e0b624568adac81feaafcca418b9d502 (diff) | |
download | iurt-b14087d92f6c5d2430f97902e84d7f24027044bc.tar iurt-b14087d92f6c5d2430f97902e84d7f24027044bc.tar.gz iurt-b14087d92f6c5d2430f97902e84d7f24027044bc.tar.bz2 iurt-b14087d92f6c5d2430f97902e84d7f24027044bc.tar.xz iurt-b14087d92f6c5d2430f97902e84d7f24027044bc.zip |
perl_checker cleanups
Diffstat (limited to 't/emi_mandatory.t')
-rw-r--r-- | t/emi_mandatory.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/emi_mandatory.t b/t/emi_mandatory.t index ce0a54b..49c3d0a 100644 --- a/t/emi_mandatory.t +++ b/t/emi_mandatory.t @@ -9,7 +9,7 @@ use Iurt::Emi; my $config = { mandatory_arch => ['i586', 'x86_64'] }; my %pkg_tree = ( '20160113183431.nobody.valstar.23515' => { - 'target' => 'cauldron', + 'target' => cauldron, 'media' => { 'core/release' => { 'done_arch' => { @@ -31,7 +31,7 @@ my %pkg_tree = ( ] }, '20160113183432.nobody.valstar.23515' => { - 'target' => 'cauldron', + 'target' => cauldron, 'media' => { 'core/release' => { 'done_arch' => { @@ -58,7 +58,7 @@ my %pkg_tree = ( ] }, '20160113183433.nobody.valstar.23515' => { - 'target' => 'cauldron', + 'target' => cauldron, 'media' => { 'core/release' => { 'done_arch' => { @@ -87,8 +87,8 @@ my %pkg_tree = ( my %targets = find_prefixes_ready_to_upload($config, %pkg_tree); # 20160113183431.nobody.valstar.23515 is not ready to upload, mandatory arch i586 is missing -ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}), 'mandatory architecture missing'); +ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{cauldron}{'core/release'}{to_upload}}), 'mandatory architecture missing'); # 20160113183432.nobody.valstar.23515 is ready to upload, all arches are present -ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'all mandatory architectures present'); +ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{cauldron}{'core/release'}{to_upload}}, 'all mandatory architectures present'); # 20160113183433.nobody.valstar.23515 is ready to upload, i586 is excluded -ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'mandatory architecture excluded'); +ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{cauldron}{'core/release'}{to_upload}}, 'mandatory architecture excluded'); |