From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Zhongqiu Duan <dzq.aishenghu0@gmail.com>
Cc: coreteam@netfilter.org, netfilter-devel@vger.kernel.org,
Jozsef Kadlecsik <kadlec@netfilter.org>,
Florian Westphal <fw@strlen.de>, Simon Horman <horms@kernel.org>,
Jeremy Sowden <jeremy@azazel.net>
Subject: Re: [PATCH nft] tests: py: correct the py utils path in the source tree
Date: Thu, 3 Jul 2025 16:04:47 +0200 [thread overview]
Message-ID: <aGaN_9hnyR9AdOdT@calendula> (raw)
In-Reply-To: <20250703135836.13803-1-dzq.aishenghu0@gmail.com>
What does it break here? Provide more info.
On Thu, Jul 03, 2025 at 01:58:36PM +0000, Zhongqiu Duan wrote:
> Fixes: ce443afc2145 ("py: move package source into src directory")
> Signed-off-by: Zhongqiu Duan <dzq.aishenghu0@gmail.com>
> ---
> tests/py/nft-test.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py
> index c7e55b0c3241..984f2b937a07 100755
> --- a/tests/py/nft-test.py
> +++ b/tests/py/nft-test.py
> @@ -23,7 +23,7 @@ import traceback
> import tempfile
>
> TESTS_PATH = os.path.dirname(os.path.abspath(__file__))
> -sys.path.insert(0, os.path.join(TESTS_PATH, '../../py/'))
> +sys.path.insert(0, os.path.join(TESTS_PATH, '../../py/src'))
> os.environ['TZ'] = 'UTC-2'
>
> from nftables import Nftables
> --
> 2.43.0
>
next prev parent reply other threads:[~2025-07-03 14:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-03 13:58 [PATCH nft] tests: py: correct the py utils path in the source tree Zhongqiu Duan
2025-07-03 14:04 ` Pablo Neira Ayuso [this message]
2025-07-03 14:26 ` Phil Sutter
2025-07-04 2:36 ` Zhongqiu Duan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aGaN_9hnyR9AdOdT@calendula \
--to=pablo@netfilter.org \
--cc=coreteam@netfilter.org \
--cc=dzq.aishenghu0@gmail.com \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=jeremy@azazel.net \
--cc=kadlec@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.