]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: Fix for storing payload into missing file
authorPhil Sutter <phil@nwl.cc>
Wed, 2 Oct 2024 17:55:49 +0000 (19:55 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 6 Nov 2024 10:00:21 +0000 (11:00 +0100)
commitc1c0c54e237c880adaa8172b93d7450e6c617cfc
tree996e7b9fbb07091fd2d012f05be769fb0dbad850
parentbb6312484af93a83a9ec8716f3887a43566a775a
tests: py: Fix for storing payload into missing file

When running a test for which no corresponding *.payload file exists,
the *.payload.got file name was incorrectly constructed due to
'payload_path' variable not being set.

Fixes: 2cfab7a3e10fc ("tests/py: Write dissenting payload into the right file")
Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/py/nft-test.py