mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Update Python invocations to explicit python3
This commit is contained in:
parent
eeec219a66
commit
9717c623c2
4 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# If this test fails, then the "Log Files" documentation page should be updated.
|
||||
|
||||
# @TEST-REQUIRES: which python
|
||||
# @TEST-REQUIRES: which python3
|
||||
# @TEST-EXEC: bash %INPUT
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
|
@ -15,7 +15,7 @@ if [ ! -d "${BROSCRIPTS}" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
python find_logs.py "${BROSCRIPTS}" | sort > out
|
||||
python3 find_logs.py "${BROSCRIPTS}" | sort > out
|
||||
|
||||
@TEST-START-FILE find_logs.py
|
||||
import os, sys
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# @TEST-REQUIRES: which python
|
||||
# @TEST-REQUIRES: which python3
|
||||
# @TEST-REQUIRES: which curl
|
||||
#
|
||||
# @TEST-EXEC: btest-bg-run httpd python $SCRIPTS/httpd.py --max 2 --addr=127.0.0.1
|
||||
# @TEST-EXEC: btest-bg-run httpd python3 $SCRIPTS/httpd.py --max 2 --addr=127.0.0.1
|
||||
# @TEST-EXEC: sleep 3
|
||||
# @TEST-EXEC: btest-bg-run zeek zeek -b %INPUT
|
||||
# @TEST-EXEC: btest-bg-wait 15
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#! /usr/bin/env python3
|
||||
|
||||
# This script aggregates many files containing Zeek script coverage information
|
||||
# into a single file and reports the overall coverage information. Usage:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#! /usr/bin/env python3
|
||||
|
||||
try:
|
||||
# Python 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue