[Bug 8408] New: t/handler_archive has wrong test count when no unrar installed

[email protected]
Newsgroups gmane.mail.spam.spamassassin.devel
Message-ID <[email protected]/SpamAssassin/>
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8408

            Bug ID: 8408
           Summary: t/handler_archive has wrong test count when no unrar
                    installed
           Product: Spamassassin
           Version: 4.0.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Regression Tests
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 6072
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6072&action=edit
fix test count in t/handler_archive.t

In tests, skipping a test does not reduce the total number of tests.
t/handler_archive.t incorrectly subtracts the skipped unrar tests from the
total when unrar is not installed, reporting a failure even when all tests
pass.

This is a trivial fix which I will commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.