summaryrefslogtreecommitdiffstats
path: root/tests/run_qa.sh
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-02-19 14:17:17 +0100
committerFlorian Westphal <fw@strlen.de>2015-02-19 17:44:06 +0100
commit0e067c7142c73404eb9ba6e355a28a92bf493675 (patch)
tree99ed145204df594bd56503938019825e836ff0a7 /tests/run_qa.sh
parentbf7b8099144602de83ea44869a9137494865f105 (diff)
tests: remove old test cases
Obsoleted by iptables-test.py in project root directory, see extensions/*.t for the new test cases. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/run_qa.sh')
-rw-r--r--tests/run_qa.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/run_qa.sh b/tests/run_qa.sh
deleted file mode 100644
index 1b045f5b..00000000
--- a/tests/run_qa.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-set -e
-
-test_family() {
- f=$1
- xt=$2
-
- for file in options-"$f".* ;do
- echo "restoring $file"
- "$xt"tables-restore < "$file"
- done
-}
-
-test_family ipv4 ip
-test_family ipv6 ip6
-
-TMPA=$(mktemp) || exit 111
-TMPB=$(mktemp) || exit 111
-
-iptables-save > "$TMPA"
-(iptables-save | iptables-restore) || exit 111
-iptables-save > "$TMPB"
-
-echo "iptables diff"
-diff -u "$TMPA" "$TMPB"
-
-rm "$TMPA" "$TMPB"
-
-ip6tables-save > "$TMPA"
-(ip6tables-save | ip6tables-restore) || exit 111
-ip6tables-save > "$TMPB"
-
-echo "ip6tables diff"
-diff -u "$TMPA" "$TMPB"
-
-rm "$TMPA" "$TMPB"
-
-