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
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)