Skip to content

Commit

Permalink
test_harness.py: add verify-sysfs option
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Dec 1, 2023
1 parent 54553ea commit a463456
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
)
Expand Down

0 comments on commit a463456

Please sign in to comment.