On 5 March 2018 at 16:29, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> > --- > tests/shell/testcases/sets/0031set_timeout_size_0 | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100755 tests/shell/testcases/sets/0031set_timeout_size_0 > > diff --git a/tests/shell/testcases/sets/0031set_timeout_size_0 b/tests/shell/testcases/sets/0031set_timeout_size_0 > new file mode 100755 > index 000000000000..ef65972aa020 > --- /dev/null > +++ b/tests/shell/testcases/sets/0031set_timeout_size_0 > @@ -0,0 +1,15 @@ > +#!/bin/bash > + > +tmpfile=$(mktemp) > +if [ ! -w $tmpfile ] ; then > + echo "Failed to create tmp file" >&2 > + exit 0 > +fi > + > +trap "rm -rf $tmpfile" EXIT # cleanup if aborted > + > +echo "add table x > +add set x y { type ipv4_addr; size 128; timeout 30s; }" ^^^ probably missing > $tmpfile > + > +set -e > +$NFT -f $tmpfile -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html