]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: monitor: Hide temporary file names from error output
authorPhil Sutter <phil@nwl.cc>
Wed, 6 Apr 2022 13:41:03 +0000 (15:41 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 8 Apr 2022 14:21:20 +0000 (16:21 +0200)
commitf561a0ccb0524eded2f2b9160b5c97bc569cc5e4
tree73bb8698d910f339396145e8631ab2c03bfbc947
parent75fea8a5d9048c08d7c1191cbf38cbce6c3344b8
tests: monitor: Hide temporary file names from error output

Make error output deterministic by passing input to nft via stdin. This
way error messages will contain "/dev/stdin" instead of the temporary
file name.

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