mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Fix istate.pybroccoli test on systems using Python 3
Filter out the python 2 "L" suffix on long integers (not valid in Python 3), and change python 3 "object at" to "instance at" when printing class instances.
This commit is contained in:
parent
bd0a374c87
commit
6fa9540e47
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@
|
|||
# @TEST-EXEC: btest-bg-wait -k 20
|
||||
# @TEST-EXEC: btest-diff bro/.stdout
|
||||
#
|
||||
# @TEST-EXEC: sed 's/instance at [^>]*>/instance at >/' <python/.stdout >python/.stdout.filtered
|
||||
# @TEST-EXEC: btest-diff python/.stdout.filtered
|
||||
# @TEST-EXEC: sed -e 's/instance at [^>]*>/instance at >/' -e 's/object at [^>]*>/instance at >/' <python/.stdout >python/.stdout.filtered
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER="sed -e 's/^\([-]*[0-9][0-9]*\)L/\1/' | $SCRIPTS/diff-remove-timestamps" btest-diff python/.stdout.filtered
|
||||
|
||||
event remote_connection_closed(p: event_peer)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue