From 8d96687e558d87fd767bdba9dff71e406f9bcf39 Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Thu, 10 Feb 2022 17:09:03 -0500 Subject: mounts: fix mount opts string for ephemeral disk (#1250) Fixes the spaces introduced in #1213 Signed-off-by: Chris Patterson --- tests/integration_tests/modules/test_disk_setup.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/integration_tests/modules/test_disk_setup.py') 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 = """\ -- cgit v1.2.3