summaryrefslogtreecommitdiff
path: root/bin
diff options
authorPMR <pmr@pmr-lander>2020-07-21 17:35:20 +0000
committerPMR <pmr@pmr-lander>2020-07-21 17:35:20 +0000
commited442b89b77b93544b8a08646f07fdefb4f9d134 (patch)
tree3540ce63ac0620b758505eeb161ea1b6340131e0 /bin
parent8697c050b1199557e6e1277104dacc0fb81a57dd (diff)
parent3755415d1281a4aa7d6c23ff52d32522ce3ea918 (diff)
Merge #387764 from ~jocave/plainbox-provider-checkbox:fix-regex-search
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fde_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fde_tests.py b/bin/fde_tests.py
index 0e658d4..276f283 100755
--- a/bin/fde_tests.py
+++ b/bin/fde_tests.py
@@ -93,11 +93,11 @@ def main():
print(cryptinfo, '\n')
# use the type as the final arbiter of success
- regexp = re.compile(r'type:\ *LUKS\d$')
+ regexp = re.compile(r'type:\ *LUKS\d$', re.MULTILINE)
if regexp.search(cryptinfo):
print('Full Disk Encryption is operational on this device')
else:
- raise SystemExit('ERROR: cryptsetup did not report LUKS1 in use')
+ raise SystemExit('ERROR: cryptsetup did not report LUKS in use')
if __name__ == "__main__":