diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-08 00:07:17 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-08 11:50:41 +0200 |
commit | 93ee51b66a6c6b2678d19637f29193f22b7181d4 (patch) | |
tree | f0cbacabae7a9d601506c0f7c4119b5a99d433eb /tests/shell | |
parent | 92abca4c3b8bde5f862bb3b724c3577a25f742af (diff) |
tests/shell: print the NFT setting with the VALGRIND=y wrapper
With this we see in the info output
I: info: NFT=./tests/shell/helpers/nft-valgrind-wrapper.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell')
-rwxr-xr-x | tests/shell/run-tests.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh index ab91fd4d..4f0df321 100755 --- a/tests/shell/run-tests.sh +++ b/tests/shell/run-tests.sh @@ -411,6 +411,11 @@ echo msg_info "info: NFT_TEST_BASEDIR=$(printf '%q' "$NFT_TEST_BASEDIR")" msg_info "info: NFT_TEST_TMPDIR=$(printf '%q' "$NFT_TEST_TMPDIR")" +if [ "$VALGRIND" == "y" ]; then + NFT="$NFT_TEST_BASEDIR/helpers/nft-valgrind-wrapper.sh" + msg_info "info: NFT=$(printf '%q' "$NFT")" +fi + kernel_cleanup() { if [ "$NFT_TEST_JOBS" -ne 0 ] ; then # When we run jobs in parallel (even with only one "parallel" @@ -442,10 +447,6 @@ kernel_cleanup() { nft_xfrm } -if [ "$VALGRIND" == "y" ]; then - NFT="$NFT_TEST_BASEDIR/helpers/nft-valgrind-wrapper.sh" -fi - echo "" ok=0 skipped=0 |