]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: don't redirect error/warning messages to stderr
authorThomas Haller <thaller@redhat.com>
Thu, 7 Sep 2023 22:07:18 +0000 (00:07 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 8 Sep 2023 09:50:41 +0000 (11:50 +0200)
commit9dbd0f2e38ca7206d779c4e44e01100684aacb4e
treec1288e804ad483f77fa9f5d459efa56f3cb32235
parent93ee51b66a6c6b2678d19637f29193f22b7181d4
tests/shell: don't redirect error/warning messages to stderr

Writing some messages to stderr and some to stdout is not helpful.
Once they are written to separate streams, it's hard to be sure about
their relative order.

Use grep to filter messages.

Also, next we will redirect the entire output also to a file. There the
output is also not split in two files.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/run-tests.sh