From a463456f7205e9d2f945612846d16f122233d604 Mon Sep 17 00:00:00 2001 From: mulhern Date: Thu, 30 Nov 2023 20:15:49 -0500 Subject: [PATCH] test_harness.py: add verify-sysfs option Signed-off-by: mulhern --- test_harness.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test_harness.py b/test_harness.py index e56036a..4bc181f 100644 --- a/test_harness.py +++ b/test_harness.py @@ -94,6 +94,7 @@ def _run_stratisd_cert(namespace, unittest_args): ["python3", "stratisd_cert.py"] + (["--monitor-dbus"] if namespace.monitor_dbus else []) + (["--verify-devices"] if namespace.verify_devices else []) + + (["--verify-sysfs"] if namespace.verify_sysfs else []) + ( [] if namespace.highest_revision_number is None @@ -164,6 +165,10 @@ def _gen_parser(): ), ) + stratisd_cert_parser.add_argument( + "--verify-sysfs", help="Verify /sys/class/block files", actions="store_true" + ) + stratis_cli_cert_parser = subparsers.add_parser( "stratis_cli_cert", help="Run stratis_cli_cert.py" )