summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-06-19 22:06:59 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-06-19 22:06:59 +0200
commit59d72e349a19da49d22934c1cdab914c3087c702 (patch)
treeaa0ddc4bbb25c090b5de14372383e3dcacaa6f04 /tests
parented668b564ed32d1784f6a8b25b3c130e0d6a9ee9 (diff)
The commandline parser was too permissive, make it more strict
The parser allowed more possible argument alternatives for command options than the documented one, which limited the possibility of other option names. The patch makes the parser more strict.
Diffstat (limited to 'tests')
-rw-r--r--tests/restore.t2
-rw-r--r--tests/setlist.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/restore.t b/tests/restore.t
index 7570bc1..b151be8 100644
--- a/tests/restore.t
+++ b/tests/restore.t
@@ -3,5 +3,5 @@
# Save sets and compare
0 ipset save > .foo && diff restore.t.multi.saved .foo
# Delete all sets
-0 ipset -x
+0 ipset x
# eof
diff --git a/tests/setlist.t b/tests/setlist.t
index 90c78f2..6f81afc 100644
--- a/tests/setlist.t
+++ b/tests/setlist.t
@@ -132,5 +132,5 @@
# Flush all sets
0 ipset flush
# Delete all sets
-0 ipset -x
+0 ipset -X
# eof