]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: shell: Fix for 'make distcheck'
authorPhil Sutter <phil@nwl.cc>
Tue, 29 Oct 2024 11:21:54 +0000 (12:21 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 5 Nov 2024 17:10:24 +0000 (18:10 +0100)
commitcdbd798286270b6ad65eb4cfe3a8933430651d0b
tree6dd1669a3d906343e6c80563f28556acff54b19e
parent29d78e196c771a8cc0788397a504b1b8c9e40e6e
tests: shell: Fix for 'make distcheck'

The target performs a "VPATH build", so built binaries are not put into
the same directory tree as the test script itself. For lack of a better
way to detect this, assume $PWD in this situation remains being the
build tree's TLD and check if binaries are present in there.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/tests/shell/run-tests.sh