test(nodestat): pin the fping option and the usemon abbreviations
Add a unit test for the option that selects fping instead of nmap. The test takes the specification out of the plugin source and gives it to Getopt::Long with the settings that the daemon uses, so it drives the specification that the plugin ships. It shows that -f, --usefping and the older --useping each select fping, that --use and --us still select usemon and do not select fping, that the bundles -mf and -fm select both options, and that both places parse through the one specification.
V
Vinícius Ferrão committed
eaa1e94a32f5aa50316ea04040601d5d62fcd4b1
Parent: d5f8822