diff options
author | Chris Patterson <cpatterson@microsoft.com> | 2022-02-10 17:09:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 15:09:03 -0700 |
commit | 8d96687e558d87fd767bdba9dff71e406f9bcf39 (patch) | |
tree | 2f34078ef642d1dfc74b0ac548e82000866afa9e /tests | |
parent | 600b870b399feb9e072748e07ea223556261fbe7 (diff) | |
download | vyos-cloud-init-8d96687e558d87fd767bdba9dff71e406f9bcf39.tar.gz vyos-cloud-init-8d96687e558d87fd767bdba9dff71e406f9bcf39.zip |
mounts: fix mount opts string for ephemeral disk (#1250)
Fixes the spaces introduced in #1213
Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration_tests/modules/test_disk_setup.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/integration_tests/modules/test_disk_setup.py b/tests/integration_tests/modules/test_disk_setup.py index 8f9d5f40..76c132ad 100644 --- a/tests/integration_tests/modules/test_disk_setup.py +++ b/tests/integration_tests/modules/test_disk_setup.py @@ -73,6 +73,14 @@ class TestDeviceAliases: assert sdb["children"][0]["mountpoint"] == "/mnt1" assert sdb["children"][1]["name"] == "sdb2" assert sdb["children"][1]["mountpoint"] == "/mnt2" + result = client.execute("mount -a") + assert result.return_code == 0 + assert result.stdout.strip() == "" + assert result.stderr.strip() == "" + result = client.execute("findmnt -J /mnt1") + assert result.return_code == 0 + result = client.execute("findmnt -J /mnt2") + assert result.return_code == 0 PARTPROBE_USERDATA = """\ |