avoid warnings in resolv()

small fix to avoid the warnings reported in http://forge.fusioninventory.org/issues/2193
Merge branch 'master' of git+ssh://forge.fusioninventory.org/git/fusioninventory/agent
--directory is deprecated but still accepted
refresh the fusioninventory-esx tests
Merge branch 'master' of git+ssh://forge.fusioninventory.org/git/fusioninventory/agent
new sample and test
new test and sample
move physical cpu extraction in its own function

This allows a simpler return value interface.
adapt test to dual information sources
Merge remote-tracking branch 'forge/master'
use UNIVERSAL::require
load YAML only if tests are going to be run