Still try and upload testedpkgs even if comm 'fails'

From local experimentation, it still actually produces the
output, even though it prints the message about the order being
wrong and exits 1.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-11-08 17:46:45 -08:00
parent ddf6ba5a6b
commit 14ad5b97f1

View File

@ -18,10 +18,9 @@ sub run {
upload_logs "/tmp/allpkgs.txt", failok=>1; upload_logs "/tmp/allpkgs.txt", failok=>1;
upload_logs "/var/log/updatepkgs.txt", failok=>1; upload_logs "/var/log/updatepkgs.txt", failok=>1;
} }
else { # we'll try and upload the output even if comm 'failed', as it
# here, it worked. # does in fact still write it in some cases
upload_logs "/var/log/testedpkgs.txt"; upload_logs "/var/log/testedpkgs.txt", failok=>1;
}
} }
sub test_flags { sub test_flags {