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" )