summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler
diff options
context:
space:
mode:
authorGonéri Le Bouder <goneri@lebouder.net>2019-05-28 15:39:48 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-05-28 15:39:48 +0000
commit6197c347c3960254dbcdb28eb73989d062ad9689 (patch)
tree047c3e31145795baddafa19ac36ec503add14523 /tests/unittests/test_handler
parent0f8695323262e41c699588c7cd140f6b58c62017 (diff)
downloadvyos-cloud-init-6197c347c3960254dbcdb28eb73989d062ad9689.tar.gz
vyos-cloud-init-6197c347c3960254dbcdb28eb73989d062ad9689.zip
freebsd: ability to grow root file system
- UFS file system support - GPT partition table support - add support for newfs's -L parameter (label) - move freebsd specific test from Azure to freebsd
Diffstat (limited to 'tests/unittests/test_handler')
-rw-r--r--tests/unittests/test_handler/test_handler_resizefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_resizefs.py b/tests/unittests/test_handler/test_handler_resizefs.py
index 35187847..db9a0414 100644
--- a/tests/unittests/test_handler/test_handler_resizefs.py
+++ b/tests/unittests/test_handler/test_handler_resizefs.py
@@ -147,7 +147,7 @@ class TestResizefs(CiTestCase):
def test_resize_ufs_cmd_return(self):
mount_point = '/'
devpth = '/dev/sda2'
- self.assertEqual(('growfs', '-y', devpth),
+ self.assertEqual(('growfs', '-y', mount_point),
_resize_ufs(mount_point, devpth))
@mock.patch('cloudinit.util.is_container', return_value=False)