summaryrefslogtreecommitdiffstats
path: root/tests/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtest.sh')
-rwxr-xr-xtests/runtest.sh19
1 files changed, 8 insertions, 11 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh
index a045905..ccd057e 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -1,22 +1,19 @@
#!/bin/bash
tests="init"
-tests="$tests ipmap bitmap:ip macipmap portmap"
-tests="$tests iphash hash:ip"
-# nethash ipporthash"
-# tests="$tests ipportiphash ipportnethash"
-# tests="$tests iptree iptreemap"
-# tests="$tests setlist"
+tests="$tests ipmap bitmap:ip"
+tests="$tests macipmap portmap"
+tests="$tests iphash hash:ip hash:ip6"
+tests="$tests ipporthash hash:ip,port hash:ip6,port"
+tests="$tests ipportiphash hash:ip,port,ip hash:ip6,port,ip6"
+tests="$tests nethash hash:net hash:net6"
+tests="$tests setlist"
+tests="$tests iptree iptreemap"
if [ "$1" ]; then
tests="init $@"
fi
-if [ ! -x ../src/ipset ]; then
- echo "Please rune `make` first and create the ipset binary."
- exit 1
-fi
-
for types in $tests; do
../src/ipset -X test >/dev/null 2>&1
if [ -f $types ]; then