From 5e60889506ac916384523d291375c171c51c718e Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Thu, 29 Feb 2024 17:16:11 +0000 Subject: [PATCH] Find installed pping executable under its new name --- tests/integration/pping_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/pping_test.py b/tests/integration/pping_test.py index 61b6945da5..18be91dde4 100644 --- a/tests/integration/pping_test.py +++ b/tests/integration/pping_test.py @@ -86,8 +86,8 @@ def get_pping_output(timeout=5): Also asserts that pping shouldn't unexpectedly exit with a zero exitcode. """ - pping = which('pping.py') - assert pping, "Cannot find pping.py on path" + pping = which("pping") + assert pping, "Cannot find pping in PATH" cmd = get_root_method() + ["/usr/bin/timeout", str(timeout), pping, "-f"] try: output = check_output(cmd, stderr=STDOUT)