summaryrefslogtreecommitdiffstats
path: root/tests/ipportiphash.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-04-08 15:53:02 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-04-08 15:53:02 +0200
commit202ca992312b908e410bed9a480e715e3bca660b (patch)
tree5ecbce98a5a305bf4161eb14a50226c656f808ed /tests/ipportiphash.t
parent138c2ced29b23dcf203dc6ba122ae931635209e5 (diff)
Testsuite changes: keep temporary files
Keep temporary files in the tests and erase them only after successfully running the testsuite. This makes simpler to analyze failed tests.
Diffstat (limited to 'tests/ipportiphash.t')
-rw-r--r--tests/ipportiphash.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ipportiphash.t b/tests/ipportiphash.t
index bfde875..0ce01c6 100644
--- a/tests/ipportiphash.t
+++ b/tests/ipportiphash.t
@@ -41,7 +41,7 @@
# List set
0 ipset -L test > .foo0 && ./sort.sh .foo0
# Check listing
-0 diff -I 'Size in memory.*' .foo ipportiphash.t.list0 && rm .foo
+0 diff -I 'Size in memory.*' .foo ipportiphash.t.list0
# Flush test set
0 ipset -F test
# Delete test set
@@ -73,7 +73,7 @@
# List set
0 ipset -L test > .foo0 && ./sort.sh .foo0
# Check listing
-0 diff -I 'Size in memory.*' .foo ipportiphash.t.list1 && rm .foo
+0 diff -I 'Size in memory.*' .foo ipportiphash.t.list1
# Flush test set
0 ipset -F test
# Delete test set