fix ping for arch

pull/86/head
Rilliat 2025-02-04 19:27:33 +03:00
parent 4fb1a7ea5e
commit a0193ab808
1 changed files with 2 additions and 2 deletions

View File

@ -396,8 +396,8 @@ class TestMod(loader.Module):
ping_hint=(
(self.config["hint"]) if random.choice([0, 0, 1]) == 1 else ""
),
hostname=subprocess.run(['hostname'], stdout=subprocess.PIPE).stdout.decode().strip(),
user=subprocess.run(['whoami'], stdout=subprocess.PIPE).stdout.decode().strip(),
hostname=lib_platform.node(),
user=getpass.getuser(),
),
)