vagrant/test/unit/plugins
Paul Hinze abe0731d2e guests/{ubuntu,debian}: fix change_host_name for trailing dots [GH-2610]
When `/etc/hosts` contained a FQDN with a trailing dot, the `\b` in the
sed expression would not match, since dot is not considered to be a word
character.

Fix this by regexp-escaping the hostname search, and matching the end of
the line on optional space followed by additional characters.

Also add some tests that extract the regexp used by sed and verify that
it does what we want. These will hopefully serve us in the future if we
ever need to test additional edge cases.
2013-12-09 18:56:45 -06:00
..
commands core: request users upgrade plugins if they're old 2013-12-04 11:43:39 -08:00
guests guests/{ubuntu,debian}: fix change_host_name for trailing dots [GH-2610] 2013-12-09 18:56:45 -06:00
providers/virtualbox core: clean up tests for synced folder built-ins 2013-12-03 18:30:59 -08:00
provisioners/shell provisioners/shell: fix validation for args [GH-1949] 2013-11-28 19:54:10 -06:00