mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/snmpd: fix machine usage deprecation
This commit is contained in:
parent
f042b57046
commit
3c26854ed0
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
testScript = ''
|
||||
start_all();
|
||||
machine.wait_for_unit("snmpd.service")
|
||||
machine.succeed("snmpwalk -v 2c -c public localhost | grep SNMPv2-MIB::sysName.0");
|
||||
snmpd.wait_for_unit("snmpd.service")
|
||||
snmpd.succeed("snmpwalk -v 2c -c public localhost | grep SNMPv2-MIB::sysName.0");
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue