1
0
mirror of https://passt.top/passt synced 2024-12-23 06:05:23 +00:00

test/perf: Check for /sbin/sysctl with which(1), not simply sysctl

Otherwise, we're depending on having /sbin in $PATH. For some reason
I didn't completely grasp, with the new command dispatch mechanism
that's not the case anymore, even if I have /sbin in $PATH in the
parent shell.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stefano Brivio 2022-09-17 01:17:04 +02:00
parent 8627a2da52
commit ae51d2dac1
3 changed files with 4 additions and 4 deletions

View File

@ -11,8 +11,8 @@
# Copyright (c) 2021 Red Hat GmbH # Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com> # Author: Stefano Brivio <sbrivio@redhat.com>
gtools sysctl ip jq nproc seq sleep iperf3 tcp_rr tcp_crr # From neper gtools /sbin/sysctl ip jq nproc seq sleep iperf3 tcp_rr tcp_crr # From neper
nstools sysctl ip jq nproc seq sleep iperf3 tcp_rr tcp_crr nstools /sbin/sysctl ip jq nproc seq sleep iperf3 tcp_rr tcp_crr
htools bc head sed seq htools bc head sed seq
# In this setup, virtio_net TX queue sometimes hangs, still under investigation # In this setup, virtio_net TX queue sometimes hangs, still under investigation

View File

@ -11,7 +11,7 @@
# Copyright (c) 2021 Red Hat GmbH # Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com> # Author: Stefano Brivio <sbrivio@redhat.com>
gtools sysctl ip jq nproc sleep iperf3 udp_rr # From neper gtools /sbin/sysctl ip jq nproc sleep iperf3 udp_rr # From neper
nstools ip jq sleep iperf3 udp_rr nstools ip jq sleep iperf3 udp_rr
htools bc head sed htools bc head sed

View File

@ -12,7 +12,7 @@
# Author: Stefano Brivio <sbrivio@redhat.com> # Author: Stefano Brivio <sbrivio@redhat.com>
htools head ip seq bc sleep iperf3 tcp_rr tcp_crr jq sed htools head ip seq bc sleep iperf3 tcp_rr tcp_crr jq sed
nstools sysctl nproc ip seq sleep iperf3 tcp_rr tcp_crr jq sed nstools /sbin/sysctl nproc ip seq sleep iperf3 tcp_rr tcp_crr jq sed
test pasta: throughput and latency (local connections) test pasta: throughput and latency (local connections)