From ae51d2dac108e8daa475e4d6c1a6a5ebbb3fa759 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 17 Sep 2022 01:17:04 +0200 Subject: 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 Reviewed-by: David Gibson --- test/perf/passt_udp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/perf/passt_udp') diff --git a/test/perf/passt_udp b/test/perf/passt_udp index d199523..80731d1 100644 --- a/test/perf/passt_udp +++ b/test/perf/passt_udp @@ -11,7 +11,7 @@ # Copyright (c) 2021 Red Hat GmbH # Author: Stefano Brivio -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 htools bc head sed -- cgit v1.2.3