From 7a6763e87cc573b3693025d711fb559168bf97a4 Mon Sep 17 00:00:00 2001 From: Paul Larson Date: Thu, 17 Jun 2021 08:35:02 -0500 Subject: Filter snapd/save device from storage tests Don't consider devices used for snapd save partition when running the storage_device_* tests since we can't write to it. --- bin/disk_info.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/disk_info.py b/bin/disk_info.py index 0b45443..5b4efbd 100755 --- a/bin/disk_info.py +++ b/bin/disk_info.py @@ -62,6 +62,9 @@ def main(): find_pkname_is_root_mountpoint(m.group('KNAME'), lsblk) ): continue + # Don't consider any block dev mounted as snapd save partition + if 'snapd/save' in m.group('MOUNTPOINT'): + continue disks += 1 model = m.group('MODEL') if not model: -- cgit v1.2.3