Files
RecordFlux/examples/apps/ping/tests/python_test.sh
Tobias Reiher 4f14a667e9 Improve reliability of ping tests
Ref. eng/recordflux/RecordFlux#1484
2023-12-01 15:40:59 +00:00

8 lines
138 B
Bash
Executable File

#!/bin/bash
set -eu
VENV=$1
source ${VENV}/activate
python3 -O ping.py 127.0.0.1 | sed '/64 bytes from 127\.0\.0\.1: icmp_seq=0/q; $q1'