diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-01-22 17:42:18 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-01-28 11:32:53 +0000 |
commit | 027bd21376e252b6239e13293cec2234815c39bf (patch) | |
tree | c6ea3342208335f5804e5f7a356456e9a818f221 /tests.as-root/run-in-artifact-propagates-exit-code.script | |
parent | 5190c0ef482a4e67b14464d0a6fa267a937c7e46 (diff) | |
download | morph-027bd21376e252b6239e13293cec2234815c39bf.tar.gz |
virtualbox-ssh: Work around change in VBox options
VirtualBox changed a command line option in 4.3 incompatibly, so we now
have to check the version number and change an option from --sataportcount
to --portcount if the version of VirtualBox running on the target is at
least 4.3
This turns the version into a tuple and compares it against another,
since it's more reliable than comparing strings, which will count '1.10'
as earlier than '1.2', and more convenient than comparing the digits
individually.
Diffstat (limited to 'tests.as-root/run-in-artifact-propagates-exit-code.script')
0 files changed, 0 insertions, 0 deletions