| ##/bin/bash | |
| # Valid test names start with 3 digits "NNN": | |
| # "[0-9]\{3\}" | |
| # followed by an optional "-": | |
| # "-\?" | |
| # followed by an optional combination of alphanumeric and "-" chars: | |
| # "[[:alnum:]-]*" | |
| # e.g. 999-the-mark-of-fstests | |
| # | |
| VALID_TEST_ID="[0-9]\{3\}" | |
| VALID_TEST_NAME="$VALID_TEST_ID-\?[[:alnum:]-]*" |