]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: delete useless stderr output in testcase
authorArturo Borrero Gonzalez <arturo@debian.org>
Thu, 3 Nov 2016 12:04:36 +0000 (13:04 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 Nov 2016 23:21:38 +0000 (00:21 +0100)
This stderr output is expected.

Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/transactions/0014chain_1

index a03ef126c0889cd6fa7d47c8927a6b191f6cca81..955860d0c7f4b29f474e806ec2f7a735bf4304d7 100755 (executable)
@@ -16,5 +16,5 @@ delete chain x y
 delete chain x y"
 
 echo "$RULESET" > $tmpfile
-$NFT -f $tmpfile
+$NFT -f $tmpfile 2>/dev/null
 echo "E: allowing double-removal of chain" >&2