summaryrefslogtreecommitdiffstats
path: root/tests/setlist.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-22 10:49:41 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-22 10:49:41 +0200
commit020936c8c3375e1efe44a3087c891a4b2cbfe044 (patch)
treea94751e6f1f11bcf118129c343d1942bbf53e808 /tests/setlist.t
parent97a12ba3f184a76c406eb5622ec21a4d4d6fc8bf (diff)
ipset 5: last new feature addedv5.0-pre3
- the hash types can now store protocol together port, not only port - lots of fixes everywhere: parser, error reporting, manpage The last bits on the todo list before announcing ipset 5: - recheck all the error messages - add possibly more tests - polish manpage
Diffstat (limited to 'tests/setlist.t')
-rw-r--r--tests/setlist.t54
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/setlist.t b/tests/setlist.t
index f80f5ae..d673e8e 100644
--- a/tests/setlist.t
+++ b/tests/setlist.t
@@ -1,55 +1,55 @@
-# Setlist: Create dummy set
+# Create dummy set
0 ipset -N dummy list:set
-# Setlist: Create base set foo
+# Create base set foo
0 ipset -N foo ipmap --from 2.0.0.1 --to 2.1.0.0
-# Setlist: Create base set bar
+# Create base set bar
0 ipset -N bar iphash
-# Setlist: Create setlist kind of set
+# Create setlist kind of set
0 ipset -N test setlist
-# Setlist: Swap test and dumy sets
+# Swap test and dumy sets
0 ipset -W test dummy
-# Setlist: Destroy dummy set
+# Destroy dummy set
0 ipset -X dummy
-# Setlist: Add foo set to setlist
+# Add foo set to setlist
0 ipset -A test foo
-# Setlist: Test foo set in setlist
+# Test foo set in setlist
0 ipset -T test foo
-# Setlist: Test nonexistent set in setlist
+# Test nonexistent set in setlist
1 ipset -T test nonexistent
-# Setlist: Try to delete foo set
+# Try to delete foo set
1 ipset -X foo
-# Setlist: Add bar set to setlist, after foo
+# Add bar set to setlist, after foo
0 ipset -A test bar
-# Setlist: Test bar,after,foo
+# Test bar,after,foo
0 ipset -T test bar,after,foo
-# Setlist: Test foo,before,bar
+# Test foo,before,bar
0 ipset -T test foo,before,bar
-# Setlist: Test bar,before,foo
+# Test bar,before,foo
1 ipset -T test bar,before,foo
-# Setlist: Test foo,after,bar
+# Test foo,after,bar
1 ipset -T test foo,after,bar
-# Setlist: Save sets
+# Save sets
0 ipset -S > setlist.t.restore
-# Setlist: Delete bar,before,foo
+# Delete bar,before,foo
1 ipset -D test bar,before,foo
-# Setlist: Delete foo,after,bar
+# Delete foo,after,bar
1 ipset -D test foo,after,bar
-# Setlist: Delete bar,after,foo
+# Delete bar,after,foo
0 ipset -D test bar,after,foo
-# Setlist: Flush test set
+# Flush test set
0 ipset -F test
-# Setlist: Delete test set
+# Delete test set
0 ipset -X test
-# Setlist: Delete all sets
+# Delete all sets
0 ipset -X
-# Setlist: Restore saved sets
+# Restore saved sets
0 ipset -R < setlist.t.restore
-# Setlist: List set
+# List set
0 ipset -L test > .foo
-# Setlist: Check listing
+# Check listing
0 diff .foo setlist.t.list0 && rm .foo
-# Setlist: Flush all sets
+# Flush all sets
0 ipset -F
-# Setlist: Delete all sets
+# Delete all sets
0 ipset -X && rm setlist.t.restore
# eof