summaryrefslogtreecommitdiff
path: root/hscript/disk_lvm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/disk_lvm.cc')
-rw-r--r--hscript/disk_lvm.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/hscript/disk_lvm.cc b/hscript/disk_lvm.cc
index 70e1ba2..f558515 100644
--- a/hscript/disk_lvm.cc
+++ b/hscript/disk_lvm.cc
@@ -59,7 +59,7 @@ bool LVMPhysical::execute(ScriptOptions opts) const {
return false;
}
#endif /* HAS_INSTALL_ENV */
- return true;
+ return true; /* LCOV_EXCL_LINE */
}
@@ -152,6 +152,7 @@ bool LVMGroup::validate(ScriptOptions) const {
return true;
}
+/* LCOV_EXCL_START */
bool LVMGroup::test_pv(ScriptOptions) const {
#ifdef HAS_INSTALL_ENV
const char *fstype = blkid_get_tag_value(nullptr, "TYPE",
@@ -166,6 +167,7 @@ bool LVMGroup::test_pv(ScriptOptions) const {
return true;
#endif /* HAS_INSTALL_ENV */
}
+/* LCOV_EXCL_STOP */
#ifdef HAS_INSTALL_ENV
/*! Determine if a named Volume Group currently exists on a LVM PV.
@@ -237,7 +239,7 @@ bool LVMGroup::execute(ScriptOptions opts) const {
return false;
}
#endif /* HAS_INSTALL_ENV */
- return true;
+ return true; /* LCOV_EXCL_LINE */
}
@@ -325,5 +327,5 @@ bool LVMVolume::execute(ScriptOptions opts) const {
return false;
}
#endif /* HAS_INSTALL_ENV */
- return true;
+ return true; /* LCOV_EXCL_LINE */
}