Hi Arushi, On Fri, Jun 08, 2018 at 02:25:16AM +0530, Arushi Singhal wrote: > To run the test suite (as root): > % cd iptables/tests/shell > % ./run-tests.sh [...] > diff --git a/iptables/tests/shell/testcases/chain/ip6tables_duplicate_1 b/iptables/tests/shell/testcases/chain/ip6tables_duplicate_1 > new file mode 100755 > index 0000000..6d42cec > --- /dev/null > +++ b/iptables/tests/shell/testcases/chain/ip6tables_duplicate_1 > @@ -0,0 +1,11 @@ > +#!/bin/bash > + > +set -e > + > +$IPTABLES -t filter -N c1 > +$IPTABLES -t filter -N c1 > + > +if [ $? -eq 0 ]; then > + echo "E: Duplicate chains" >&2 > + exit 0 > +fi > diff --git a/iptables/tests/shell/testcases/chain/iptables_duplicate_0 b/iptables/tests/shell/testcases/chain/iptables_duplicate_0 > new file mode 100755 > index 0000000..6d42cec > --- /dev/null > +++ b/iptables/tests/shell/testcases/chain/iptables_duplicate_0 > @@ -0,0 +1,11 @@ > +#!/bin/bash > + > +set -e > + > +$IPTABLES -t filter -N c1 > +$IPTABLES -t filter -N c1 > + > +if [ $? -eq 0 ]; then > + echo "E: Duplicate chains" >&2 > + exit 0 > +fi Can we avoid having the same script twice for iptables and ip6tables? I mean, call the same script setting $IPTABLES to iptables or ip6tables. -- 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