Closed simonxuhao closed 9 years ago
The slashes indicate you wish the argument to be treated as a regular expression. I've put some alternative commands that select just ReadOnlyTests below.
root@debian:~/dmtest# dmtest list --suite thin-provisioning -t /ReadOnlyTests/
thin-provisioning
ReadOnlyTests
can_access_fully_mapped_device
can_read_unprovisioned_regions
cant_create_new_thins
cant_delete_thins
cant_provision_new_blocks
commit_failure_causes_fallback
create_read_only
root@debian:~/dmtest# dmtest list --suite thin-provisioning -t /^ReadOnlyTests$/
thin-provisioning
ReadOnlyTests
can_access_fully_mapped_device
can_read_unprovisioned_regions
cant_create_new_thins
cant_delete_thins
cant_provision_new_blocks
commit_failure_causes_fallback
create_read_only
root@debian:~/dmtest# dmtest list --suite thin-provisioning -t ReadOnlyTests
thin-provisioning
ReadOnlyTests
can_access_fully_mapped_device
can_read_unprovisioned_regions
cant_create_new_thins
cant_delete_thins
cant_provision_new_blocks
commit_failure_causes_fallback
create_read_only
When I run ReadOnlyTests, both ReadOnlyMetadataTests and ReadOnlyTests are run:
Is this by design or a minor regex bug?