Skip to content
Snippets Groups Projects
Commit 1d22238a authored by Michal Sojka's avatar Michal Sojka
Browse files

Fail when measured latnecy is zero

parent 3a74f173
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ set -e
source tmp-stat.txt
for i in sent lost enobufs $(seq -f percentile%g 0 10 100); do keyval="$keyval $i=$((i))"; done
echo "! PERF: gw_latency $avg µs $keyval ok"
test $avg -eq 0 || exit 1
exit $r
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment