[exim-dev] [Bug 1612] New: testsuite: unstable perl output […

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Schlittermann
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 1612] New: testsuite: unstable perl output [fix included]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1612
           Summary: testsuite: unstable perl output [fix included]
           Product: Exim
           Version: 4.85+ HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Keywords: work:tiny
          Severity: bug
          Priority: low
         Component: Test harness
        AssignedTo: nigel@???
        ReportedBy: hs@???
                CC: exim-dev@???



Created an attachment (id=803)
--> (http://bugs.exim.org/attachment.cgi?id=803)
patch, make dnssec_*_domains a generic router option

The test 3000 checks the output/return valut of a Perl subroutine. The return
value is a hash, this hash gets converted into a scalar. The assumption that is
always matches "<pairs>/<allocated buckets>" is not true. The scalar value of
a hash is always true or false, depending on the content of the hash. Currently
it returns "<used buckets>/<allocated buckets>".

I've fixed the test suite a bit.


The fix is git://git.schlittermann.de/exim.git
branch fix-testsuite-perl-hash

... or attached.

It's tested.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email