[Bro-Dev] [JIRA] (BIT-1455) topic/dnthayer/py3-compat

Robin Sommer (JIRA) jira at bro-tracker.atlassian.net
Fri Aug 21 17:20:00 PDT 2015

    [ https://bro-tracker.atlassian.net/browse/BIT-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21712#comment-21712 ] 

Robin Sommer commented on BIT-1455:

I'm seeing two problems with these changes:

- I'm getting one test case failure with the btest test suite with `tests/measure-time-options.test`. It looks like that when the awk command below executes, it doesn't receive any of the arguments actually and then just aborts with a usage message. 

@TEST-EXEC: awk 'BEGIN { for ( i = 1; i < 100000; i++ ) x += i; print x; }; done' </dev/null

- I'm also now getting 4 test failures with the Bro test suite, which weren't there before merging this in. I'm attaching the diag.log.


This is on Linux with Python 2.7.8.

> topic/dnthayer/py3-compat
> -------------------------
>                 Key: BIT-1455
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1455
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: BTest
>            Reporter: Daniel Thayer
>             Fix For: 2.5
>         Attachments: diag.log
> The branch topic/dnthayer/py3-compat in the btest repo contains the
> following changes:
> 1) update btest to work on Python 3 (still works with Python 2.6 and 2.7)
> 2) fixed two bugs in btest-diff that could result in a failing test that appears to succeed
> 3) add more test cases
> 4) fix measure-time test to not be skipped on some systems that have all prereqs
> 5) fixed a test that set TEST_DIFF_CANONIFIER to wrong path
> 6) improvements to the README

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list