diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-02-22 21:38:56 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-02-22 22:37:00 +0100 |
commit | 7bdf10e68ba849c9314b3c139a434e27efd1e192 (patch) | |
tree | 2df998ddeac5ea160662a4db7ffe54c9f368babf /test | |
parent | 045d169339c5b973f0924269e6ca485e48de3668 (diff) |
test: Allow prefixing test names with 'tests/'.
It's handy to be able to run `./test tests/accountd*` or similar.
Diffstat (limited to 'test')
-rwxr-xr-x | test | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ if [ $# -eq 0 ]; then done else for t in "$@"; do + t="${t#tests/}" if [ -f "tests/$t" ]; then TESTS+=( "$t" ) else |