libmachine/versioncmp: refactor test to be table driven
libmachine/versioncmp: refactor test to be table driven

Signed-off-by: Peter Schultz <2e34c9842edc9a0b4d09adf340a14aa8c1f4c483@classmarkets.com>

Herbis/machine,flavio/machine,londoncalling/machine,SvenDowideit/machine,dgageot/machine,voutilad/machine,dweomer/docker-machine,docker/machine,docker/machine,dgageot/machine,exoscale/docker-machine,SvenDowideit/machine,dweomer/docker-machine,larsla/machine,Herbis/machine,voutilad/machine,larsla/machine,londoncalling/machine,ibuildthecloud/machine,ibuildthecloud/machine,exoscale/docker-machine,flavio/machine