diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-13 19:05:07 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-15 16:04:43 +0200 |
commit | eb9bba20e7a0d673ee52594ea80f70cd75318981 (patch) | |
tree | bc37f6f5f07b05c1484d5c44038014be268cbd6c /src | |
parent | ac3f685a881e112db37c845566de98bee1bc11ad (diff) |
tests/shell: special handle base path starting with "./"
When we auto detect the tests with `tests/shell/run-tests.sh -L`, then
commonly the NFT_TEST_BASEDIR starts with a redundant "./". That's a bit
ugly.
Instead, special handle that case and remove the prefix. The effect is
that `tests/shell/run-tests.sh -L` shows
tests/shell/testcases/bitwise/0040mark_binop_0
instead of
./tests/shell/testcases/bitwise/0040mark_binop_0
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions