Skip to content

Commit

Permalink
Find installed pping executable under its new name
Browse files Browse the repository at this point in the history
  • Loading branch information
lunkwill42 authored and hmpf committed Mar 1, 2024
1 parent c41124a commit 5e60889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/pping_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5e60889

Please sign in to comment.