summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2022-04-28 01:56:40 -0700
committerMaciej Żenczykowski <maze@google.com>2022-05-09 18:46:53 +0000
commit580c55e4c21a0242c68c2a1245d2b3d91aed806a (patch)
tree0e3cf10bd209ec88b707ff1edfb41910a2c91746
parent838eb9f18155b55953984b1447f72d7da37a92e5 (diff)
downloadtests-580c55e4c21a0242c68c2a1245d2b3d91aed806a.tar.gz
fix for loss of python on glinux
Test: manually in ACK 5.10-T and 5.15-T via ARCH=um SUBARCH=x86_64 /aosp-tests/net/test/run_net_test.sh --builder all_tests.sh Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I7726f3a4c761c4907e25bde25e31d1aa73d121d5 (cherry picked from commit dc93e5277e0fbbf48cc501019565c9c90693ff4f) Bug: 231986042 Merged-In: I7726f3a4c761c4907e25bde25e31d1aa73d121d5
-rwxr-xr-xnet/test/run_net_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/test/run_net_test.sh b/net/test/run_net_test.sh
index 9dca4fe..1bf876d 100755
--- a/net/test/run_net_test.sh
+++ b/net/test/run_net_test.sh
@@ -2,7 +2,7 @@
# Builds mysteriously fail if stdout is non-blocking.
fixup_ptys() {
- python << 'EOF'
+ python3 << 'EOF'
import fcntl, os, sys
fd = sys.stdout.fileno()
flags = fcntl.fcntl(fd, fcntl.F_GETFL)