]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: missing redirection to file
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Mar 2018 17:52:51 +0000 (18:52 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Mar 2018 17:53:55 +0000 (18:53 +0100)
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/sets/0031set_timeout_size_0

index ef65972aa02085c2858bbc536af88d0f81e27e51..89af58f35d1442ffd0f3f6db0432b5d68f29dccf 100755 (executable)
@@ -9,7 +9,7 @@ fi
 trap "rm -rf $tmpfile" EXIT # cleanup if aborted
 
 echo "add table x
-add set x y { type ipv4_addr; size 128; timeout 30s; }"
+add set x y { type ipv4_addr; size 128; timeout 30s; }" > $tmpfile
 
 set -e
 $NFT -f $tmpfile